aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-test-most
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:54 +0000
commit4b467b8f22def328869d4a1217215a14a19c9b5d (patch)
tree1bea29616ff9585ab8819ff9726254d7f969ae9a /testing/perl-test-most
parent59a558499ab1f1cbabce8c09f7b0a63c30ec1eb1 (diff)
downloadaports-4b467b8f22def328869d4a1217215a14a19c9b5d.tar.bz2
aports-4b467b8f22def328869d4a1217215a14a19c9b5d.tar.xz
testing/perl-test-most: new aport
Diffstat (limited to 'testing/perl-test-most')
-rw-r--r--testing/perl-test-most/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-test-most/APKBUILD b/testing/perl-test-most/APKBUILD
new file mode 100644
index 0000000000..9e44695660
--- /dev/null
+++ b/testing/perl-test-most/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-test-most
+_pkgreal=Test-Most
+pkgver=0.34
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Test-Most/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-exception-class perl-test-differences perl-test-warn perl-test-exception perl-test-deep"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/O/OV/OVID/$_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="6fa1f097bedbc18f46b08ac9eb79bba9 Test-Most-0.34.tar.gz"
+sha256sums="c2820c8de65f5fa59f218ac2be9be98b22cc1bb1a1f371e04375aa3b6054e244 Test-Most-0.34.tar.gz"
+sha512sums="00706bb25e6b9f806b536f75f66356413cdbcb19efd1c8b163fbd3357f61abe9e06e57c311eff216d36962ce74beb996db6cd4f0d2e5ed58fa5c0a0af32a33ef Test-Most-0.34.tar.gz"