1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00

testing/perl-module-build: new aport

This commit is contained in:
Francesco Colista 2012-10-29 13:31:59 +00:00
parent abf5795df0
commit bcc41b6b49

View file

@ -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"