aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:37:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:37:37 +0000
commit47faabe4523db81d85c5d19d6c247ad1ca3b64f3 (patch)
tree4800bb5c238154cee65e76280b6d1526a872ecb7 /testing
parent0bf0f059906b292f87474745b662bec7971b7c46 (diff)
downloadaports-47faabe4523db81d85c5d19d6c247ad1ca3b64f3.tar.bz2
aports-47faabe4523db81d85c5d19d6c247ad1ca3b64f3.tar.xz
testing/perl-test-output: new aport
Utilities to test STDOUT and STDERR messages. http://search.cpan.org/dist/Test-Output/
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-test-output/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-test-output/APKBUILD b/testing/perl-test-output/APKBUILD
new file mode 100644
index 0000000000..8d450a7f32
--- /dev/null
+++ b/testing/perl-test-output/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-test-output
+_pkgreal=Test-Output
+pkgver=1.03
+pkgrel=0
+pkgdesc="Utilities to test STDOUT and STDERR messages."
+url="http://search.cpan.org/dist/Test-Output/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-capture-tiny perl-sub-exporter perl-test-tester"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/$_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="903485edb382f5a18a5029978d1febf6 Test-Output-1.03.tar.gz"
+sha256sums="3110af65c6fc59b9fa46b08a47508c5e85f6edc6355f0879e28b11f9ad0c2989 Test-Output-1.03.tar.gz"
+sha512sums="b7f793564c906f40444f249272dde55db1357923da72b6638634aece779d9cc5e8f4d7de0326fabb33e7c11eccf089069532f8f61529526467b579e1bacb4ee1 Test-Output-1.03.tar.gz"