diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-12 10:40:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-12 10:40:09 +0000 |
commit | f03b141f758a0ed40c8b3202138975b6dc04c3a3 (patch) | |
tree | e1c7dcee4cb0eb534fb469b281b31c9dca41070b /main/perl-heap/APKBUILD | |
parent | 6618fccfa813e0ac0ff9629af45c1f8420b43345 (diff) | |
download | aports-f03b141f758a0ed40c8b3202138975b6dc04c3a3.tar.bz2 aports-f03b141f758a0ed40c8b3202138975b6dc04c3a3.tar.xz |
main/perl-heap: moved to main
Diffstat (limited to 'main/perl-heap/APKBUILD')
-rw-r--r-- | main/perl-heap/APKBUILD | 37 |
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" |