summaryrefslogtreecommitdiff
path: root/main/perl-heap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-12 10:40:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-12 10:40:09 +0000
commitf03b141f758a0ed40c8b3202138975b6dc04c3a3 (patch)
treee1c7dcee4cb0eb534fb469b281b31c9dca41070b /main/perl-heap
parent6618fccfa813e0ac0ff9629af45c1f8420b43345 (diff)
downloadaports-f03b141f758a0ed40c8b3202138975b6dc04c3a3.zip
main/perl-heap: moved to main
Diffstat (limited to 'main/perl-heap')
-rw-r--r--main/perl-heap/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-heap/APKBUILD b/main/perl-heap/APKBUILD
new file mode 100644
index 00000000000..2bcd88ac8e1
--- /dev/null
+++ b/main/perl-heap/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-heap
+_pkgreal=Heap
+pkgver=0.80
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Heap/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JM/JMM/$_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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="05fed19a7552dadee11c780cd68c0116 Heap-0.80.tar.gz"