blob: 7d17e4821de47a0408ec9d4b26b5031874cd02ba (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=LEONT
DIST_VERSION=0.012
inherit perl-module
DESCRIPTION="Querying your filehandle's capabilities"
SLOT="0"
KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"
RDEPEND="
virtual/perl-Carp
>=virtual/perl-Exporter-5.570.0
virtual/perl-Scalar-List-Utils
virtual/perl-XSLoader
"
BDEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.360.100
test? (
virtual/perl-Data-Dumper
virtual/perl-File-Spec
>=virtual/perl-Test-Simple-0.820.0
)
"
PERL_RM_FILES=(
t/release-pod-coverage.t
t/release-pod-syntax.t
)
src_configure() {
unset LD
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
perl-module_src_configure
}
src_compile() {
./Build --config optimize="${CFLAGS}" build || die
}
|