aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-functional-utility
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:54 +0000
commit808f25d0482ba8d778ce46dafc54eabe1d395aa9 (patch)
treefa0766cf2aa37e54d7e70dda7b4b222e3a30bf36 /testing/perl-functional-utility
parentda52561a179ebb1ee4811c46e603afd9a728c315 (diff)
downloadaports-808f25d0482ba8d778ce46dafc54eabe1d395aa9.tar.bz2
aports-808f25d0482ba8d778ce46dafc54eabe1d395aa9.tar.xz
testing/perl-functional-utility: new aport
Diffstat (limited to 'testing/perl-functional-utility')
-rw-r--r--testing/perl-functional-utility/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-functional-utility/APKBUILD b/testing/perl-functional-utility/APKBUILD
new file mode 100644
index 0000000000..f144905b39
--- /dev/null
+++ b/testing/perl-functional-utility/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-functional-utility
+_pkgreal=Functional-Utility
+pkgver=1.02
+pkgrel=0
+pkgdesc="helper tools for light-weight functional programming."
+url="http://search.cpan.org/dist/Functional-Utility/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BE/BELDEN/$_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="75fc2f5cb6d23d5412fe4ff3a6d54f85 Functional-Utility-1.02.tar.gz"
+sha256sums="1ee089bc0d522bfd6a530eec815233ecb81778f8a576b9733430dc9c4e734104 Functional-Utility-1.02.tar.gz"
+sha512sums="bd6945baeef8b35466238c655ec8e7384e087ebfdc565119dc142987feb5affc6c0a85a879f47ff1508f7e0db705ca5a3f9a08d6b09164fa432b4b7c34b04ed1 Functional-Utility-1.02.tar.gz"