From 7eb1acf12160b84c17c431ad84d8c878618363ff Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 23 Feb 2012 16:39:03 -0500 Subject: testing/perl-strictures: new APKBUILD --- testing/perl-strictures/APKBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testing/perl-strictures') diff --git a/testing/perl-strictures/APKBUILD b/testing/perl-strictures/APKBUILD index 4e4b3a449..dfc692c23 100644 --- a/testing/perl-strictures/APKBUILD +++ b/testing/perl-strictures/APKBUILD @@ -1,6 +1,6 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman pkgname=perl-strictures _pkgreal=strictures pkgver=1.002002 @@ -10,7 +10,7 @@ url="http://search.cpan.org/dist/strictures/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends="" +cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -20,11 +20,13 @@ _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 } -- cgit v1.2.3