aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:24:32 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:24:32 +0000
commitcbe307ae524a07ad0e16f297862370206b0e34e1 (patch)
treee9da31339cfb797fe5bec81541330e35d6356054 /main
parent62b83d9b553795d5b539e83a207a1eb55a4806d2 (diff)
downloadaports-cbe307ae524a07ad0e16f297862370206b0e34e1.tar.bz2
aports-cbe307ae524a07ad0e16f297862370206b0e34e1.tar.xz
testing/perl-module-util: move to main
Diffstat (limited to 'main')
-rw-r--r--main/perl-module-util/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/perl-module-util/APKBUILD b/main/perl-module-util/APKBUILD
new file mode 100644
index 0000000000..2f42d38c47
--- /dev/null
+++ b/main/perl-module-util/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-module-util
+_pkgreal=Module-Util
+pkgver=1.07
+pkgrel=0
+pkgdesc="Module name tools and transformations"
+url="http://search.cpan.org/dist/Module-Util/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTLAW/$_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}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d9e5d48b7f1aee18582fab57f27cccfa Module-Util-1.07.tar.gz"