aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:10:15 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:10:15 +0000
commit6a6d563f87af8d009b54eb5d1f2ae831b21439ca (patch)
tree5f0cf2fd12c429f4cdd63c4ae537c6a3140c68cd /testing
parent75eca192569eecba256880ec6084225726600a34 (diff)
downloadaports-6a6d563f87af8d009b54eb5d1f2ae831b21439ca.tar.bz2
aports-6a6d563f87af8d009b54eb5d1f2ae831b21439ca.tar.xz
testing/perl-perlio-via-escstatus: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-perlio-via-escstatus/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-perlio-via-escstatus/APKBUILD b/testing/perl-perlio-via-escstatus/APKBUILD
new file mode 100644
index 0000000000..21cac5a060
--- /dev/null
+++ b/testing/perl-perlio-via-escstatus/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-perlio-via-escstatus
+_pkgreal=PerlIO-via-EscStatus
+pkgver=10
+pkgrel=0
+pkgdesc="Printing a status line through an I/O layer."
+url="http://search.cpan.org/dist/PerlIO-via-EscStatus/"
+arch="noarch"
+license="open_source"
+cpandepends="perl-regexp-common perl-term-size"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_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="8a3e0b10e4200920a49d2bff4d37e5f8 PerlIO-via-EscStatus-10.tar.gz"