From b370b457bf09ccf9b71766726ea4fc7559364781 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 31 Oct 2014 10:24:16 +0000 Subject: main/perl-module-build-tiny: move from testing --- main/perl-module-build-tiny/APKBUILD | 44 +++++++++++++++++++++++++++++++++ testing/perl-module-build-tiny/APKBUILD | 44 --------------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 main/perl-module-build-tiny/APKBUILD delete mode 100644 testing/perl-module-build-tiny/APKBUILD diff --git a/main/perl-module-build-tiny/APKBUILD b/main/perl-module-build-tiny/APKBUILD new file mode 100644 index 0000000000..d3b5305b78 --- /dev/null +++ b/main/perl-module-build-tiny/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=perl-module-build-tiny +_pkgreal=Module-Build-Tiny +pkgver=0.030 +pkgrel=0 +pkgdesc="A tiny replacement for Module::Build" +url="http://search.cpan.org/dist/Module-Build-Tiny/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-extutils-installpaths perl-extutils-config perl-extutils-helpers perl-test-harness" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + if [ -e Build.PL ]; then + perl Build.PL --installdirs=vendor || return 1 + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + fi +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install --destdir="$pkgdir" --create_packlist=0 || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="1c54bf4c602eec87f98950314699402e Module-Build-Tiny-0.030.tar.gz" +sha256sums="dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8 Module-Build-Tiny-0.030.tar.gz" +sha512sums="654d05e6a88fd41aef1a4676707d038d119b2fc33afa98948cafe1d40bc89957cbc99a80a0260851e31678d426e9861a69a976bf21208d1ee58dc7fa7a3b6162 Module-Build-Tiny-0.030.tar.gz" diff --git a/testing/perl-module-build-tiny/APKBUILD b/testing/perl-module-build-tiny/APKBUILD deleted file mode 100644 index d3b5305b78..0000000000 --- a/testing/perl-module-build-tiny/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=perl-module-build-tiny -_pkgreal=Module-Build-Tiny -pkgver=0.030 -pkgrel=0 -pkgdesc="A tiny replacement for Module::Build" -url="http://search.cpan.org/dist/Module-Build-Tiny/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-extutils-installpaths perl-extutils-config perl-extutils-helpers perl-test-harness" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL --installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install --destdir="$pkgdir" --create_packlist=0 || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1c54bf4c602eec87f98950314699402e Module-Build-Tiny-0.030.tar.gz" -sha256sums="dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8 Module-Build-Tiny-0.030.tar.gz" -sha512sums="654d05e6a88fd41aef1a4676707d038d119b2fc33afa98948cafe1d40bc89957cbc99a80a0260851e31678d426e9861a69a976bf21208d1ee58dc7fa7a3b6162 Module-Build-Tiny-0.030.tar.gz" -- cgit v1.2.3