summaryrefslogtreecommitdiffstats
path: root/testing/perl-list-allutils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:19:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:22:48 +0000
commit3bb53d7e35c835d6a1bed85df2632ca8d5084cf6 (patch)
tree3015ec76205ac294242f6e4b29da189c3944dd23 /testing/perl-list-allutils/APKBUILD
parent2107c22035006413342dfbe732608ecfbf8e19a6 (diff)
downloadaports-3bb53d7e35c835d6a1bed85df2632ca8d5084cf6.tar.bz2
aports-3bb53d7e35c835d6a1bed85df2632ca8d5084cf6.tar.xz
testing/perl-list-allutils: new aport
Combines List::Util and List::MoreUtils in one bite-sized package http://search.cpan.org/dist/List-AllUtils/
Diffstat (limited to 'testing/perl-list-allutils/APKBUILD')
-rw-r--r--testing/perl-list-allutils/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/perl-list-allutils/APKBUILD b/testing/perl-list-allutils/APKBUILD
new file mode 100644
index 000000000..6f85df777
--- /dev/null
+++ b/testing/perl-list-allutils/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-list-allutils
+_pkgreal=List-AllUtils
+pkgver=0.09
+pkgrel=0
+pkgdesc="Combines List::Util and List::MoreUtils in one bite-sized package"
+url="http://search.cpan.org/dist/List-AllUtils/"
+arch="noarch"
+license="Artistic-2"
+cpandepends="perl-list-moreutils"
+cpanmakedepends=" perl-test-warnings "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_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="3e2dfeeef80c4e1952443c6b7d48583c List-AllUtils-0.09.tar.gz"
+sha256sums="4cfe6359cc6c9f4ba0d178e223f4b468d3cf7768d645334962f05de069bdaee2 List-AllUtils-0.09.tar.gz"
+sha512sums="a611536880abfeb3aadfab629a98115905f447ddb74f0e9cce9d3534366978e43a8bf566a742d352e5ac263d8bd4c32c96dd4f308fd36ebd7003eb0001f96727 List-AllUtils-0.09.tar.gz"