aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-07-22 07:59:37 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2011-07-22 07:59:37 -0400
commitea7c91ee4ad1848c878503265a507936ceac6bee (patch)
treeba7606a08ec7bb3a61bd554a25a361c6873bd0b0
parent7ef7ebfa544fadd74a97a8749d523eeee0bd7035 (diff)
downloadaports-ea7c91ee4ad1848c878503265a507936ceac6bee.tar.bz2
aports-ea7c91ee4ad1848c878503265a507936ceac6bee.tar.xz
testing/perl-test-simple: new aport
-rw-r--r--testing/perl-test-simple/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-test-simple/APKBUILD b/testing/perl-test-simple/APKBUILD
new file mode 100644
index 0000000000..29ed660150
--- /dev/null
+++ b/testing/perl-test-simple/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-test-simple
+_pkgreal=Test-Simple
+pkgver=0.98
+pkgrel=0
+pkgdesc="Basic utilities for writing tests."
+url="http://search.cpan.org/dist/Test-Simple/"
+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/MS/MSCHWERN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a8b26c97440269b33dd79fd847c521d8 Test-Simple-0.98.tar.gz"