summaryrefslogtreecommitdiff
path: root/community/perl-hash-merge-simple
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:13:08 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:21:06 +0000
commite54154102c7690b5c94fc25f950c630f2223fbba (patch)
tree8ccf80903d1f3bbab76464d8f69948e7f7f6c1ad /community/perl-hash-merge-simple
parent8d2cb3267ae8cbc4946517bf7795146e69cad2ec (diff)
downloadaports-e54154102c7690b5c94fc25f950c630f2223fbba.zip
community/perl-hash-merge-simple: moved from unmaintained
Diffstat (limited to 'community/perl-hash-merge-simple')
-rw-r--r--community/perl-hash-merge-simple/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/perl-hash-merge-simple/APKBUILD b/community/perl-hash-merge-simple/APKBUILD
new file mode 100644
index 00000000000..926fe829dca
--- /dev/null
+++ b/community/perl-hash-merge-simple/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-hash-merge-simple
+_pkgreal=Hash-Merge-Simple
+pkgver=0.051
+pkgrel=0
+pkgdesc="Recursively merge two or more hashes, simply"
+url="http://search.cpan.org/dist/Hash-Merge-Simple/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-clone"
+cpanmakedepends="perl-test-most"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROKR/$_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="f47b9b99794b1f958bcfa3e816ff4660 Hash-Merge-Simple-0.051.tar.gz"
+sha256sums="1c56327873d2f04d5722777f044863d968910466997740d55a754071c6287b73 Hash-Merge-Simple-0.051.tar.gz"
+sha512sums="8db850144593632ce8ac8a560dac6670814a9ce3d1091d6aa42ab0eadca4b350671103b1de906d562aeaa0934fd58bd4e557821c5bcd730a10849f8505f65c4c Hash-Merge-Simple-0.051.tar.gz"