aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-list-moreutils
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 09:12:53 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:24:36 +0000
commit5c2205003cdfe5455c803b1cd8ce632424662f16 (patch)
tree5073c8715dfd07d29c1cb02b15437c8f8b85ba6d /community/perl-list-moreutils
parent10e32ff9d0574bdcaf0c9274717aeb853b594eb8 (diff)
downloadaports-5c2205003cdfe5455c803b1cd8ce632424662f16.tar.bz2
aports-5c2205003cdfe5455c803b1cd8ce632424662f16.tar.xz
community/perl-list-moreutils: moved from testing
Diffstat (limited to 'community/perl-list-moreutils')
-rw-r--r--community/perl-list-moreutils/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-list-moreutils/APKBUILD b/community/perl-list-moreutils/APKBUILD
new file mode 100644
index 000000000..f352f0e11
--- /dev/null
+++ b/community/perl-list-moreutils/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-list-moreutils
+_pkgreal=List-MoreUtils
+pkgver=0.413
+pkgrel=1
+pkgdesc="Provide the stuff missing in List::Util"
+url="http://search.cpan.org/dist/List-MoreUtils/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-exporter-tiny"
+cpanmakedepends=" perl-test-leaktrace"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_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="bc577c86455e2d1397187bce286a53b9 List-MoreUtils-0.413.tar.gz"
+sha256sums="4d6429d5672ce74a59d6490320252cb8b5b8285db8fe9c6551a4162e5375ef37 List-MoreUtils-0.413.tar.gz"
+sha512sums="178c08995d2eddd75054b29cd68adb77617e92b7e56ac56a890eb7b8e04a1f8eda09f2208288d61352db563bff7da0accf58f7482906a51e03b38465ea655d17 List-MoreUtils-0.413.tar.gz"