diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:34:32 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:48:26 +0300 |
commit | 1aed89d0706c7ef01416eada4f2307da7c3e13d1 (patch) | |
tree | 618ff7182a6a067d5f0be99d974602082c94964d /testing | |
parent | fcdde6bb1d9b40cd77932714202661261653f1df (diff) | |
download | aports-1aed89d0706c7ef01416eada4f2307da7c3e13d1.tar.bz2 aports-1aed89d0706c7ef01416eada4f2307da7c3e13d1.tar.xz |
testing/perl-class-data-inheritable: new apkbuild-cpan generated aport
Inheritable, overridable class data
http://search.cpan.org/dist/Class-Data-Inheritable/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-class-data-inheritable/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-class-data-inheritable/APKBUILD b/testing/perl-class-data-inheritable/APKBUILD new file mode 100644 index 000000000..4494b39bf --- /dev/null +++ b/testing/perl-class-data-inheritable/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +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" |