aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-bsd-resource
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-11-20 14:49:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-24 13:02:55 +0000
commit1d04c940d71566ac1bd81b98df86ae8f972ea343 (patch)
tree5bc8e2f97403100a171be3128629d1b5e37306a6 /testing/perl-bsd-resource
parent687e9b6f7fe826e181d0789c1af75bb2bfae3cd2 (diff)
downloadaports-1d04c940d71566ac1bd81b98df86ae8f972ea343.tar.bz2
aports-1d04c940d71566ac1bd81b98df86ae8f972ea343.tar.xz
testing/perl-bsd-resource: new aport
Diffstat (limited to 'testing/perl-bsd-resource')
-rw-r--r--testing/perl-bsd-resource/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-bsd-resource/APKBUILD b/testing/perl-bsd-resource/APKBUILD
new file mode 100644
index 0000000000..1a20017ca6
--- /dev/null
+++ b/testing/perl-bsd-resource/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=perl-bsd-resource
+_pkgreal=BSD-Resource
+pkgver=1.2909
+pkgrel=0
+pkgdesc="Perl extension implements the BSD process resource limit functions"
+url="http://search.cpan.org/dist/BSD-Resource/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$_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 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="3c6dd2fa953088aa87e263f40818d012 BSD-Resource-1.2909.tar.gz"
+sha256sums="c47d460e2bd00d8d049f6ff4a0f1f61957e289e8de45af5fc79e851e2e855e06 BSD-Resource-1.2909.tar.gz"
+sha512sums="5f489eaac5089e82081b7cf51d62638750e443751b49415407354da96b17771819b5e6e85529faa41ddd85743363750157943c7f7700276cce2bd40a429fa430 BSD-Resource-1.2909.tar.gz"