diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2014-12-25 13:57:57 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2014-12-25 13:57:57 +0000 |
commit | 489f5356a49e880f3270223ab4ffe03477760a2c (patch) | |
tree | bf468c62bac342fb77b113154959e74b6d18ae51 /testing/perl-sub-name | |
parent | 58c9f8316f08a529a24f78e77a92c535100f852c (diff) | |
download | aports-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/APKBUILD | 10 |
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 } |