aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-tie-ixhash/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-tie-ixhash/APKBUILD')
-rw-r--r--testing/perl-tie-ixhash/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/perl-tie-ixhash/APKBUILD b/testing/perl-tie-ixhash/APKBUILD
new file mode 100644
index 0000000000..da229aaba1
--- /dev/null
+++ b/testing/perl-tie-ixhash/APKBUILD
@@ -0,0 +1,38 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-tie-ixhash
+_pkgreal=Tie-IxHash
+pkgver=1.22
+pkgrel=0
+pkgdesc="ordered associative arrays for Perl"
+url="http://search.cpan.org/dist/Tie-IxHash/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="aae2e62df7e016fd3e8fdaaea71b0b41 Tie-IxHash-1.22.tar.gz"