From cbe307ae524a07ad0e16f297862370206b0e34e1 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 24 Dec 2013 09:24:32 +0000 Subject: testing/perl-module-util: move to main --- main/perl-module-util/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing/perl-module-util/APKBUILD | 39 --------------------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 main/perl-module-util/APKBUILD delete mode 100644 testing/perl-module-util/APKBUILD diff --git a/main/perl-module-util/APKBUILD b/main/perl-module-util/APKBUILD new file mode 100644 index 0000000000..2f42d38c47 --- /dev/null +++ b/main/perl-module-util/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-module-util +_pkgreal=Module-Util +pkgver=1.07 +pkgrel=0 +pkgdesc="Module name tools and transformations" +url="http://search.cpan.org/dist/Module-Util/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTLAW/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="d9e5d48b7f1aee18582fab57f27cccfa Module-Util-1.07.tar.gz" diff --git a/testing/perl-module-util/APKBUILD b/testing/perl-module-util/APKBUILD deleted file mode 100644 index 2f42d38c47..0000000000 --- a/testing/perl-module-util/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-module-util -_pkgreal=Module-Util -pkgver=1.07 -pkgrel=0 -pkgdesc="Module name tools and transformations" -url="http://search.cpan.org/dist/Module-Util/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTLAW/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d9e5d48b7f1aee18582fab57f27cccfa Module-Util-1.07.tar.gz" -- cgit v1.2.3