aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-future
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-25 08:03:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-25 08:03:52 +0000
commite4fcd77a158f90234bb08bd94c684314bdb0edce (patch)
treed07c671c11329636f289d46067a39037ba97644b /main/perl-future
parent7fc21d3269f6c91cad132c796d2f5d2c5d0115c4 (diff)
downloadaports-e4fcd77a158f90234bb08bd94c684314bdb0edce.tar.bz2
aports-e4fcd77a158f90234bb08bd94c684314bdb0edce.tar.xz
main/perl-future: new aport
represent an operation awaiting completion http://search.cpan.org/dist/Future/
Diffstat (limited to 'main/perl-future')
-rw-r--r--main/perl-future/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-future/APKBUILD b/main/perl-future/APKBUILD
new file mode 100644
index 0000000000..38efd198c7
--- /dev/null
+++ b/main/perl-future/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-future
+_pkgreal=Future
+pkgver=0.15
+pkgrel=0
+pkgdesc="represent an operation awaiting completion"
+url="http://search.cpan.org/dist/Future/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-test-identity perl-test-fatal perl-test-refcount perl-test-warn "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7e77ad602adf25f12768ad135190a8cc Future-0.15.tar.gz"
+sha256sums="7fa80f8ad9d9b3015d83279a0a526a6e1864c14be98d67bd1fb496f207fe26ee Future-0.15.tar.gz"
+sha512sums="62b609fe2dc27a3d9fc6e549528c0b1af246c84a4a8bce72ecb8bd134c16e705a7bb980031f5c511b34809118e7d9dcb0a87415c3c6d18341902b14d541258de Future-0.15.tar.gz"