You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.e...

40 lines
680 B

# Copyright 1999-2020 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
}