aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-ipc-run/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:25:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:39:07 +0000
commiteaa120dd815b3e70ba7723c28e2aa3a633f23174 (patch)
tree7ed9be65a929950754ec33f50b11c3480728e071 /community/perl-ipc-run/APKBUILD
parente62841b5cb2e1d0fa68cc0d395cdeb767f06e5d4 (diff)
downloadaports-eaa120dd815b3e70ba7723c28e2aa3a633f23174.tar.bz2
aports-eaa120dd815b3e70ba7723c28e2aa3a633f23174.tar.xz
community/perl-ipc-run: moved from testing
Diffstat (limited to 'community/perl-ipc-run/APKBUILD')
-rw-r--r--community/perl-ipc-run/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-ipc-run/APKBUILD b/community/perl-ipc-run/APKBUILD
new file mode 100644
index 0000000000..1f4bb8ebfc
--- /dev/null
+++ b/community/perl-ipc-run/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-ipc-run
+_pkgreal=IPC-Run
+pkgver=0.94
+pkgrel=0
+pkgdesc="system() and background procs w/ piping, redirs, ptys (Unix, Win32)"
+url="http://search.cpan.org/dist/IPC-Run/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-io-tty"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="c963902894d3796b16624b3b4aea94b4 IPC-Run-0.94.tar.gz"
+sha256sums="2eb336c91a2b7ea61f98e5b2282d91020d39a484f16041e2365ffd30f8a5605b IPC-Run-0.94.tar.gz"
+sha512sums="c42fb5e0a5085698bec3f970ba642c00ad947629bd30c1485ebd28e8e24db4273fa6439e0abeddbc602be66e4ebfcaaa7e8d3982ac8b82c3c6a8a431c170f721 IPC-Run-0.94.tar.gz"