blob: 862fa4352d392ad9867fe6bc3a771aa79470953a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=PLICEASE
DIST_VERSION=2.77
DIST_EXAMPLES=("example/*")
inherit perl-module
DESCRIPTION="Build external dependencies for use in CPAN"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
IUSE="minimal zip"
# No, pkgconfig is not suspect, it actually uses it at runtime, and this module
# is somewhat a wrapper for pkgconfig :/
RDEPEND="
zip? ( dev-perl/Archive-Zip )
virtual/perl-Archive-Tar
>=dev-perl/Capture-Tiny-0.170.0
virtual/perl-Digest-SHA
virtual/perl-ExtUtils-CBuilder
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
>=virtual/perl-ExtUtils-ParseXS-3.300.0
>=dev-perl/FFI-CheckLib-0.110.0
>=dev-perl/File-Which-1.100.0
dev-perl/File-chdir
virtual/perl-JSON-PP
>=virtual/perl-Scalar-List-Utils-1.330.0
>=dev-perl/Path-Tiny-0.77.0
>=virtual/perl-Test-Simple-1.302.96
>=virtual/perl-Text-ParseWords-3.260.0
virtual/pkgconfig
"
BDEPEND="${RDEPEND}
test? (
dev-perl/Devel-Hide
>=dev-perl/Test2-Suite-0.0.121
!minimal? (
dev-perl/Alien-Base-ModuleBuild
dev-perl/Sort-Versions
)
)
"
src_prepare() {
unset LD
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
perl-module_src_prepare
}
|