From 1aed89d0706c7ef01416eada4f2307da7c3e13d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 2 Jun 2011 11:34:32 +0300 Subject: testing/perl-class-data-inheritable: new apkbuild-cpan generated aport Inheritable, overridable class data http://search.cpan.org/dist/Class-Data-Inheritable/ --- testing/perl-class-data-inheritable/APKBUILD | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/perl-class-data-inheritable/APKBUILD (limited to 'testing') diff --git a/testing/perl-class-data-inheritable/APKBUILD b/testing/perl-class-data-inheritable/APKBUILD new file mode 100644 index 0000000000..4494b39bf8 --- /dev/null +++ b/testing/perl-class-data-inheritable/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=perl-class-data-inheritable +_pkgreal=Class-Data-Inheritable +pkgver=0.08 +pkgrel=0 +pkgdesc="Inheritable, overridable class data" +url="http://search.cpan.org/dist/Class-Data-Inheritable/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/$_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="fc0fe65926eb8fb932743559feb54eb9 Class-Data-Inheritable-0.08.tar.gz" -- cgit v1.2.3