summaryrefslogtreecommitdiffstats
path: root/main/perl-sub-exporter-progressive/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-23 07:56:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-23 07:56:31 +0000
commita91d9bb7befb7af700b08aa6046c67111c180393 (patch)
treed6a20204c15f01832fd53ec35220853e3ffb046b /main/perl-sub-exporter-progressive/APKBUILD
parent5864d7a7f7bc58a0898d9c9d0b3fd503729b63d6 (diff)
downloadaports-a91d9bb7befb7af700b08aa6046c67111c180393.tar.bz2
aports-a91d9bb7befb7af700b08aa6046c67111c180393.tar.xz
main/perl-sub-exporter-progressive: moved from testing
Diffstat (limited to 'main/perl-sub-exporter-progressive/APKBUILD')
-rw-r--r--main/perl-sub-exporter-progressive/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/perl-sub-exporter-progressive/APKBUILD b/main/perl-sub-exporter-progressive/APKBUILD
new file mode 100644
index 000000000..a34d26e84
--- /dev/null
+++ b/main/perl-sub-exporter-progressive/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-sub-exporter-progressive
+_pkgreal=Sub-Exporter-Progressive
+pkgver=0.001006
+pkgrel=0
+pkgdesc="Only use Sub::Exporter if you need it"
+url="http://search.cpan.org/dist/Sub-Exporter-Progressive/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_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="381704c10802bbbf13e8e99d7ddccfbe Sub-Exporter-Progressive-0.001006.tar.gz"