aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-heap
diff options
context:
space:
mode:
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 0000000000..2bcd88ac8e
--- /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"