aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:31:59 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:31:59 +0000
commitbcc41b6b49db03ddfa4d44a2edfedb9763c5be8f (patch)
tree3c737206fb445b13f0fe5f0d4595cfc9970913af
parentabf5795df0c492c5a036a9aa2ca9482dca53e0bd (diff)
downloadaports-bcc41b6b49db03ddfa4d44a2edfedb9763c5be8f.tar.bz2
aports-bcc41b6b49db03ddfa4d44a2edfedb9763c5be8f.tar.xz
testing/perl-module-build: new aport
-rw-r--r--testing/perl-module-build/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/perl-module-build/APKBUILD b/testing/perl-module-build/APKBUILD
index fbb2d02565..42a0e679b7 100644
--- a/testing/perl-module-build/APKBUILD
+++ b/testing/perl-module-build/APKBUILD
@@ -3,29 +3,30 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-module-build
_pkgreal=Module-Build
-pkgver=0.3800
+pkgver=0.4003
pkgrel=0
pkgdesc="Build and install Perl modules"
url="http://search.cpan.org/dist/Module-Build/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
-cpanmakedepends=""
+cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"
+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 Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
@@ -35,4 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="b9e3085a2f314c2dea2274bd5ab16236 Module-Build-0.3800.tar.gz"
+md5sums="ed5fe7e023af43b0722639b13ece8d2d Module-Build-0.4003.tar.gz"