1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/perl-devel-leak/APKBUILD
2019-09-05 15:36:54 +00:00

38 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-devel-leak
_pkgreal=Devel-Leak
pkgver=0.03
pkgrel=7
pkgdesc="Utility for looking for perl objects that are not reclaimed"
url="https://metacpan.org/release/Devel-Leak"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="9ee2cf88bd1dbc6091e38ef4597b54bb Devel-Leak-0.03.tar.gz"
sha256sums="6f42c34f11e2b4e3ea2e0e6b9416a88a685add447910caf4d91dd2c178177252 Devel-Leak-0.03.tar.gz"
sha512sums="177f64b87fa6ab08b93f7c5bfcbaf4421e8431bf795976a0a7efa0120828984fed29a2bc12918e5bea9ea3edccf6316ba8daf704f349aece84b45bdd11f57707 Devel-Leak-0.03.tar.gz"