aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:55:50 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:47 +0000
commit4b12aca24b8b0e404406cc0404359b3cd5a6774a (patch)
tree1c2c535c25f6bc45ecc033ab1319676a73395a9e
parente908698230c0c19d625559c0c9bef68c4a37f356 (diff)
downloadaports-4b12aca24b8b0e404406cc0404359b3cd5a6774a.tar.bz2
aports-4b12aca24b8b0e404406cc0404359b3cd5a6774a.tar.xz
testing/perl-package-stash: new aport
-rw-r--r--testing/perl-package-stash/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-package-stash/APKBUILD b/testing/perl-package-stash/APKBUILD
new file mode 100644
index 0000000000..aa37b79d06
--- /dev/null
+++ b/testing/perl-package-stash/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-package-stash
+_pkgreal=Package-Stash
+pkgver=0.35
+pkgrel=0
+pkgdesc="routines for manipulating stashes"
+url="http://search.cpan.org/dist/Package-Stash/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-module-implementation perl-package-stash-xs perl-dist-checkconflicts"
+cpanmakedepends="perl-test-requires perl-test-fatal"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="423e99f76382cb71119f5f3a69c1e29e Package-Stash-0.35.tar.gz"
+sha256sums="cb0e6d17641f911d251c8e1676c4ddc4188f46e932838bf557c51ac28df0d3ee Package-Stash-0.35.tar.gz"
+sha512sums="17e33120fd0d4de3f26977159ccc8ad15841a7741f39606443bbc4b30fd5b450a37c8a0dcbf6db4ff6e06a4a92ad9c537cae6e37b827bc4b595524fb1c1f833d Package-Stash-0.35.tar.gz"