blob: 916aa358f4cb592d51f1dce7795ac97acbb57d31 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=DANIEL
DIST_VERSION=1.7
inherit perl-module
DESCRIPTION="Perl interface to Alec Muffett's Cracklib"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="sys-libs/cracklib"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.420.0
test? (
>=virtual/perl-Test-Simple-0.470.0
)
"
PATCHES=(
"${FILESDIR}/${PN}-1.7-CFLAGS-1.patch"
"${FILESDIR}/${PN}-1.7-no-dot-inc.patch"
)
PERL_RM_FILES=(
t/pod-coverage.t
t/pod.t
)
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
)
perl-module_src_compile
}
|