blob: c860596ec0855c8195fdba1263bc67ce209ffae4 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=GFUJI
DIST_VERSION=v2.4.10
DIST_EXAMPLES=("example/*" "benchmarks")
inherit perl-module
DESCRIPTION="Moose minus the antlers"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=virtual/perl-Scalar-List-Utils-1.140.0
>=virtual/perl-XSLoader-0.20.0
"
DEPEND="dev-perl/Module-Build"
BDEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-ParseXS-3.220.0
>=virtual/perl-Devel-PPPort-3.220.0
>=dev-perl/Module-Build-0.400.500
dev-perl/Module-Build-XSUtil
test? (
dev-perl/Test-Exception
dev-perl/Test-Fatal
dev-perl/Test-LeakTrace
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Test-Output
dev-perl/Test-Requires
dev-perl/Try-Tiny
)
"
src_configure() {
unset LD
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
# we have to do this outside src_compile
# as the stupid thing recompiles in src_install
myconf=(
--config "optimize=${CFLAGS}"
)
perl-module_src_configure
}
|