aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-data-optlist
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:50:02 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:45 +0000
commitcb653da524a60aa4961019511cf2cd56fe4fa50d (patch)
tree4fa80e2bd9cb0f9229a63c18db6d07df96ad2bd9 /testing/perl-data-optlist
parentff05e6f932e486f5d5c547eea16b27382f4d66a0 (diff)
downloadaports-cb653da524a60aa4961019511cf2cd56fe4fa50d.tar.bz2
aports-cb653da524a60aa4961019511cf2cd56fe4fa50d.tar.xz
testing/perl-data-optlist: new aport
Diffstat (limited to 'testing/perl-data-optlist')
-rw-r--r--testing/perl-data-optlist/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-data-optlist/APKBUILD b/testing/perl-data-optlist/APKBUILD
new file mode 100644
index 0000000000..2457e0a2de
--- /dev/null
+++ b/testing/perl-data-optlist/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-data-optlist
+_pkgreal=Data-OptList
+pkgver=0.108
+pkgrel=0
+pkgdesc="parse and validate simple name/value option pairs"
+url="http://search.cpan.org/dist/Data-OptList/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-sub-install perl-params-util perl-test-pod"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="f5c2d27987c1ec4b89b2702698881579 Data-OptList-0.108.tar.gz"
+sha256sums="b4c7542803a644aff7c52abc50cdae1806cbc24fb7a8f98c38a518adaddaf28e Data-OptList-0.108.tar.gz"
+sha512sums="a0ce39073a870d71c750d17dca1edbae0fbd79bf30880c832240cd912bfef0b824dc3178e1f9482a750d3a3f223fcc7945c881e650734d61d2d2107126166561 Data-OptList-0.108.tar.gz"