aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-capture-tiny
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-19 12:06:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-19 12:06:21 +0000
commitd8503d95164d416c50a8e65687090de4385ae90a (patch)
treeff4ec3fe18f67febd33c329826996149efd6b25d /main/perl-capture-tiny
parent59988fa56c2cb70e755c2094b7741c39f9dce339 (diff)
downloadaports-d8503d95164d416c50a8e65687090de4385ae90a.tar.bz2
aports-d8503d95164d416c50a8e65687090de4385ae90a.tar.xz
main/perl-email-address: upgrade to 1.899
Diffstat (limited to 'main/perl-capture-tiny')
-rw-r--r--main/perl-capture-tiny/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-capture-tiny/APKBUILD b/main/perl-capture-tiny/APKBUILD
new file mode 100644
index 0000000000..215768c1ad
--- /dev/null
+++ b/main/perl-capture-tiny/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-capture-tiny
+_pkgreal=Capture-Tiny
+pkgver=0.22
+pkgrel=0
+pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
+url="http://search.cpan.org/dist/Capture-Tiny/"
+arch="noarch"
+license="apache_2_0"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_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="f270ee3682aabf10747592f6c05ef7ba Capture-Tiny-0.22.tar.gz"
+sha256sums="219f4778640241cbea4ae7096c55cf55353de932a9c27bec23c059ee18169985 Capture-Tiny-0.22.tar.gz"
+sha512sums="8fa752d2421abd2f3ae7b4e906dd0ce5e0a88193a08fdf1d53f3ed3457bf769ace69cd0493fdf8c4622f6454071f92a27e9bfa30aa3aade0cd9404af750ea9f9 Capture-Tiny-0.22.tar.gz"