diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 09:16:20 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:37 +0000 |
commit | 16d09bba26f28d2921bd12e9b5d46d7c0f06bba2 (patch) | |
tree | bcee48f414f797922574f8baec1ee387f8cfe868 /community/perl-mro-compat | |
parent | 9b1a4ddb409eb43d5ccd9a37b72a20885886bf5b (diff) | |
download | aports-16d09bba26f28d2921bd12e9b5d46d7c0f06bba2.tar.bz2 aports-16d09bba26f28d2921bd12e9b5d46d7c0f06bba2.tar.xz |
community/perl-mro-compat: moved from testing
Diffstat (limited to 'community/perl-mro-compat')
-rw-r--r-- | community/perl-mro-compat/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-mro-compat/APKBUILD b/community/perl-mro-compat/APKBUILD new file mode 100644 index 0000000000..742f2df13a --- /dev/null +++ b/community/perl-mro-compat/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-mro-compat +_pkgreal=MRO-Compat +pkgver=0.12 +pkgrel=0 +pkgdesc="mro::* interface compatibility for Perls < 5.9.5" +url="http://search.cpan.org/dist/MRO-Compat/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MRO-Compat-$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="06d21a3baf3d578ff3d3e10621656530 MRO-Compat-0.12.tar.gz" +sha256sums="bba5b93869aa537a3389949669d682f047d3014d53bc3a2d7209c6819e5015d6 MRO-Compat-0.12.tar.gz" +sha512sums="428255bc7a7b73ed8005107109b2294e8f7cf0cbd1543431105ec638582cb32e4cc81f29b06ce90741c1ff656186259fc1a4105247f95fe977e6758c0ccca6ab MRO-Compat-0.12.tar.gz" |