diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-future/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-future/APKBUILD b/main/perl-future/APKBUILD new file mode 100644 index 000000000..38efd198c --- /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" |