diff options
Diffstat (limited to 'main/perl-proc-wait3/APKBUILD')
-rw-r--r-- | main/perl-proc-wait3/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-proc-wait3/APKBUILD b/main/perl-proc-wait3/APKBUILD new file mode 100644 index 0000000000..424e616e03 --- /dev/null +++ b/main/perl-proc-wait3/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-proc-wait3 +_pkgreal=Proc-Wait3 +pkgver=0.04 +pkgrel=0 +pkgdesc="Perl extension for wait3 system call" +url="http://search.cpan.org/dist/Proc-Wait3/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/C/CT/CTILMES/$_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="d87ce5f3557eb86bfa5bafb9f2e028e3 Proc-Wait3-0.04.tar.gz" |