diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-24 06:36:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-24 06:37:32 +0000 |
commit | 509e32dc5b84d8e7e8487f41271e796da153e034 (patch) | |
tree | 74fd40105483c95a1bd3ef09095d539593f09729 /testing/perl-devel-leak/APKBUILD | |
parent | 65481c14000145a3737faa267d1a43f82b052615 (diff) | |
download | aports-509e32dc5b84d8e7e8487f41271e796da153e034.tar.bz2 aports-509e32dc5b84d8e7e8487f41271e796da153e034.tar.xz |
testing/perl-devel-leak: new aport
unknown
http://search.cpan.org/dist/Devel-Leak/
Diffstat (limited to 'testing/perl-devel-leak/APKBUILD')
-rw-r--r-- | testing/perl-devel-leak/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/perl-devel-leak/APKBUILD b/testing/perl-devel-leak/APKBUILD new file mode 100644 index 0000000000..91b369ad72 --- /dev/null +++ b/testing/perl-devel-leak/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=perl-devel-leak +_pkgreal=Devel-Leak +pkgver=0.03 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Devel-Leak/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + 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" |