aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-archive-extract/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-10-09 09:34:35 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-10-09 11:57:10 +0000
commitefb1ba995fe86f793e180a6586200e990908ec05 (patch)
tree1dcc497b75d1bb27a395bcff8fabb1a944e59882 /testing/perl-archive-extract/APKBUILD
parent91205f56d90674b9d262637c22eefcb6ad06c1c1 (diff)
downloadaports-efb1ba995fe86f793e180a6586200e990908ec05.tar.bz2
aports-efb1ba995fe86f793e180a6586200e990908ec05.tar.xz
testing/perl-archive-extract: new aport
Diffstat (limited to 'testing/perl-archive-extract/APKBUILD')
-rw-r--r--testing/perl-archive-extract/APKBUILD41
1 files changed, 41 insertions, 0 deletions
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"