From db86708adabdf07721b1a3ae93a82016f1ae9185 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 25 Dec 2014 14:46:36 +0000 Subject: testing/perl-sub-name: moved to main --- main/perl-sub-name/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ testing/perl-sub-name/APKBUILD | 41 ----------------------------------------- 2 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 main/perl-sub-name/APKBUILD delete mode 100644 testing/perl-sub-name/APKBUILD diff --git a/main/perl-sub-name/APKBUILD b/main/perl-sub-name/APKBUILD new file mode 100644 index 0000000000..c10733ae39 --- /dev/null +++ b/main/perl-sub-name/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-sub-name +_pkgreal=Sub-Name +pkgver=0.12 +pkgrel=0 +pkgdesc="(re)name a sub" +url="http://search.cpan.org/dist/Sub-Name/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" perl-devel-checkbin " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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="421afad5e34c0b4f753d578d99be535f Sub-Name-0.12.tar.gz" +sha256sums="06c4a2fcfb7223eeea6cc2b3f507e51f02fbf982e0c0ff1061deefb32f62b4e9 Sub-Name-0.12.tar.gz" +sha512sums="903d97c701505eb9cb4b93123b9bb4e7500050eb018025e04803172cd0d2b455192c3abd70ac29def072b6c02882f1379b1280865ac39ebd97c92fa5b4f69d4f Sub-Name-0.12.tar.gz" diff --git a/testing/perl-sub-name/APKBUILD b/testing/perl-sub-name/APKBUILD deleted file mode 100644 index c10733ae39..0000000000 --- a/testing/perl-sub-name/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-sub-name -_pkgreal=Sub-Name -pkgver=0.12 -pkgrel=0 -pkgdesc="(re)name a sub" -url="http://search.cpan.org/dist/Sub-Name/" -arch="all" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" perl-devel-checkbin " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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="421afad5e34c0b4f753d578d99be535f Sub-Name-0.12.tar.gz" -sha256sums="06c4a2fcfb7223eeea6cc2b3f507e51f02fbf982e0c0ff1061deefb32f62b4e9 Sub-Name-0.12.tar.gz" -sha512sums="903d97c701505eb9cb4b93123b9bb4e7500050eb018025e04803172cd0d2b455192c3abd70ac29def072b6c02882f1379b1280865ac39ebd97c92fa5b4f69d4f Sub-Name-0.12.tar.gz" -- cgit v1.2.3