aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-output
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:38:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-31 10:38:20 +0000
commit424f3a7cca63e438b5910ebe840cb2f6d7741c42 (patch)
tree94363a502941331f620daa425b0d70683face587 /main/perl-test-output
parent47faabe4523db81d85c5d19d6c247ad1ca3b64f3 (diff)
downloadaports-424f3a7cca63e438b5910ebe840cb2f6d7741c42.tar.bz2
aports-424f3a7cca63e438b5910ebe840cb2f6d7741c42.tar.xz
main/perl-test-output: move from testing
Diffstat (limited to 'main/perl-test-output')
-rw-r--r--main/perl-test-output/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-test-output/APKBUILD b/main/perl-test-output/APKBUILD
new file mode 100644
index 0000000000..8d450a7f32
--- /dev/null
+++ b/main/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"