summaryrefslogtreecommitdiffstats
path: root/main/perl-list-allutils
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:24:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:24:17 +0000
commit0bf0f059906b292f87474745b662bec7971b7c46 (patch)
treeff66edf8cb46b3363fcbbf44dfc64a45e8fe5524 /main/perl-list-allutils
parent13831d06be326b7b958951a7378aa71643935e3b (diff)
downloadaports-0bf0f059906b292f87474745b662bec7971b7c46.tar.bz2
aports-0bf0f059906b292f87474745b662bec7971b7c46.tar.xz
main/perl-list-allutils: move from testing
Diffstat (limited to 'main/perl-list-allutils')
-rw-r--r--main/perl-list-allutils/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/perl-list-allutils/APKBUILD b/main/perl-list-allutils/APKBUILD
new file mode 100644
index 000000000..6f85df777
--- /dev/null
+++ b/main/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"