mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
- EAPI7 - Fix license - Unconditionally remove bad tests - Prevent breakage by LD!=ccld in ENV (this *may* fix bug #737304, but my replication presented rather differently, so testing to confirm is needed) Bug: https://bugs.gentoo.org/737304 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
40 lines
756 B
Bash
40 lines
756 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
DIST_AUTHOR=AMBS
|
|
DIST_VERSION=0.08
|
|
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="A tool to build C libraries"
|
|
# https://rt.cpan.org/Ticket/Display.html?id=133195
|
|
LICENSE="|| ( Artistic GPL-1 )"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
>=virtual/perl-ExtUtils-CBuilder-0.230.0
|
|
virtual/perl-File-Spec
|
|
virtual/perl-File-Temp
|
|
"
|
|
DEPEND="dev-perl/Module-Build"
|
|
BDEPEND="${RDEPEND}
|
|
>=dev-perl/Module-Build-0.420.0
|
|
test? (
|
|
virtual/perl-Test-Simple
|
|
)
|
|
"
|
|
PERL_RM_FILES=(
|
|
"t/pod.t"
|
|
"t/pod-coverage.t"
|
|
)
|
|
src_configure() {
|
|
unset LD
|
|
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
|
|
perl-module_src_configure
|
|
}
|