From 3564a236d6ab025e895577931589f603d8354bd1 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 4 Sep 2013 08:52:12 +0000 Subject: testing/perl-module-implementation: new aport --- testing/perl-module-implementation/APKBUILD | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/perl-module-implementation/APKBUILD (limited to 'testing/perl-module-implementation') diff --git a/testing/perl-module-implementation/APKBUILD b/testing/perl-module-implementation/APKBUILD new file mode 100644 index 0000000000..217929784a --- /dev/null +++ b/testing/perl-module-implementation/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-module-implementation +_pkgreal=Module-Implementation +pkgver=0.07 +pkgrel=0 +pkgdesc="Loads one of several alternate underlying implementations for a module" +url="http://search.cpan.org/dist/Module-Implementation/" +arch="noarch" +license="Artistic-2" +cpandepends="perl-module-runtime perl-try-tiny perl-test-taint" +cpanmakedepends=" perl-test-fatal perl-test-requires " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="55483fce4266747e823a1004499bd70c Module-Implementation-0.07.tar.gz" +sha256sums="7349837153939d7f5777b28f49e2940a0aa003e75f587e1674da5bd5101d2997 Module-Implementation-0.07.tar.gz" +sha512sums="f2ea0aba3a21fd5a338899f74d0d59e0590983787a85083e2bf68bb0c27ca82362090d4bfca685a36895e8832a4784c86bb999b13b90c9a0356f326bf8bb6f99 Module-Implementation-0.07.tar.gz" -- cgit v1.2.3