diff options
Diffstat (limited to 'testing/perl-sub-name/APKBUILD')
-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 } |