aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 15:17:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 15:18:17 +0000
commitc9ff05252fa39adf4e2343c47ee451e721a44ff2 (patch)
treea42b23433140f4f658fcc768e58628e4079b2b80 /testing
parent7eacc69c249f343d074fb377db8e28392509a267 (diff)
downloadaports-c9ff05252fa39adf4e2343c47ee451e721a44ff2.tar.bz2
aports-c9ff05252fa39adf4e2343c47ee451e721a44ff2.tar.xz
testing/perl-config-autoconf: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-config-autoconf/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-config-autoconf/APKBUILD b/testing/perl-config-autoconf/APKBUILD
new file mode 100644
index 0000000000..e7df7d5209
--- /dev/null
+++ b/testing/perl-config-autoconf/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+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"