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/Devel-NYTProf/Devel-NYTProf-6.60.0-r1.ebuild

57 lines
992 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=TIMB
DIST_VERSION=6.06
DIST_EXAMPLES=("demo/*")
inherit perl-module toolchain-funcs
DESCRIPTION="Powerful feature-rich perl source code profiler"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-perl/File-Which-1.90.0
virtual/perl-Getopt-Long
dev-perl/JSON-MaybeXS
virtual/perl-Scalar-List-Utils
virtual/perl-XSLoader
sys-libs/zlib:0=
"
DEPEND="
sys-libs/zlib:0=
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-Test-Simple-0.840.0
>=dev-perl/Test-Differences-0.60.0
)
"
PERL_RM_FILES=(
t/68-hashline.t
t/71-moose.t
t/72-autodie.t
t/90-pod.t
t/91-pod_coverage.t
t/92-file_port.t
)
PATCHES=(
"${FILESDIR}/${PN}-6.06-cpprun.patch"
)
src_configure() {
tc-export CPP
perl-module_src_configure
}
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
)
perl-module_src_compile
}