From cb4ce5b66442d6ccaa29dc2f2b3c33dad91f3ae2 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 25 Aug 2016 14:22:11 +0000 Subject: community/perl-config-autoconf: moved from testing --- community/perl-config-autoconf/APKBUILD | 42 +++++++++++++++++++++++++++++++++ testing/perl-config-autoconf/APKBUILD | 42 --------------------------------- 2 files changed, 42 insertions(+), 42 deletions(-) create mode 100644 community/perl-config-autoconf/APKBUILD delete mode 100644 testing/perl-config-autoconf/APKBUILD diff --git a/community/perl-config-autoconf/APKBUILD b/community/perl-config-autoconf/APKBUILD new file mode 100644 index 0000000000..e7df7d5209 --- /dev/null +++ b/community/perl-config-autoconf/APKBUILD @@ -0,0 +1,42 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-config-autoconf +_pkgreal=Config-AutoConf +pkgver=0.313 +pkgrel=0 +pkgdesc="A module to implement some of AutoConf macros in pure perl." +url="http://search.cpan.org/dist/Config-AutoConf/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-capture-tiny" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare || return 1 + + 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="0d4fc982740e0d96d01d6b74acecbbc5 Config-AutoConf-0.313.tar.gz" +sha256sums="3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee Config-AutoConf-0.313.tar.gz" +sha512sums="6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef Config-AutoConf-0.313.tar.gz" diff --git a/testing/perl-config-autoconf/APKBUILD b/testing/perl-config-autoconf/APKBUILD deleted file mode 100644 index e7df7d5209..0000000000 --- a/testing/perl-config-autoconf/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-config-autoconf -_pkgreal=Config-AutoConf -pkgver=0.313 -pkgrel=0 -pkgdesc="A module to implement some of AutoConf macros in pure perl." -url="http://search.cpan.org/dist/Config-AutoConf/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-capture-tiny" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - default_prepare || return 1 - - 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="0d4fc982740e0d96d01d6b74acecbbc5 Config-AutoConf-0.313.tar.gz" -sha256sums="3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee Config-AutoConf-0.313.tar.gz" -sha512sums="6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef Config-AutoConf-0.313.tar.gz" -- cgit v1.2.3