aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-sub-name
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-12-25 13:57:57 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-12-25 13:57:57 +0000
commit489f5356a49e880f3270223ab4ffe03477760a2c (patch)
treebf468c62bac342fb77b113154959e74b6d18ae51 /testing/perl-sub-name
parent58c9f8316f08a529a24f78e77a92c535100f852c (diff)
downloadaports-489f5356a49e880f3270223ab4ffe03477760a2c.tar.bz2
aports-489f5356a49e880f3270223ab4ffe03477760a2c.tar.xz
testing/perl-sub-name: new aport
Diffstat (limited to 'testing/perl-sub-name')
-rw-r--r--testing/perl-sub-name/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/perl-sub-name/APKBUILD b/testing/perl-sub-name/APKBUILD
index 9f80692bac..c10733ae39 100644
--- a/testing/perl-sub-name/APKBUILD
+++ b/testing/perl-sub-name/APKBUILD
@@ -1,6 +1,6 @@
# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-sub-name
_pkgreal=Sub-Name
pkgver=0.12
@@ -11,20 +11,22 @@ arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" perl-devel-checkbin "
-depends="$cpandepends perl-devel-checkbin"
+depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Sub-Name-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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
}