From efb1ba995fe86f793e180a6586200e990908ec05 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 9 Oct 2015 09:34:35 +0000 Subject: testing/perl-archive-extract: new aport --- testing/perl-archive-extract/APKBUILD | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/perl-archive-extract/APKBUILD (limited to 'testing/perl-archive-extract') diff --git a/testing/perl-archive-extract/APKBUILD b/testing/perl-archive-extract/APKBUILD new file mode 100644 index 0000000000..1df182a97f --- /dev/null +++ b/testing/perl-archive-extract/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-archive-extract +_pkgreal=Archive-Extract +pkgver=0.76 +pkgrel=0 +pkgdesc="Generic archive extracting mechanism" +url="http://search.cpan.org/dist/Archive-Extract/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/$_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="110a6000ce4b23da34dcbe890e069f13 Archive-Extract-0.76.tar.gz" +sha256sums="9ae7080ca70346dd7d9845c581d2e112f4513ec0f7d79c2011c0e0a2ce874cfc Archive-Extract-0.76.tar.gz" +sha512sums="b17a490fe6bd0535a3105929677e5f3fa1460aba391a4541bdcb838cca8c8d3f73f744d59b71306abc7c13835b35ebec2902692e4438f7dc8e8284372f5a7dec Archive-Extract-0.76.tar.gz" -- cgit v1.2.3