aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-shell-config-generate
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-shell-config-generate')
-rw-r--r--testing/perl-shell-config-generate/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-shell-config-generate/APKBUILD b/testing/perl-shell-config-generate/APKBUILD
new file mode 100644
index 0000000000..1b15a6e593
--- /dev/null
+++ b/testing/perl-shell-config-generate/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-shell-config-generate
+_pkgreal=Shell-Config-Generate
+pkgver=0.24
+pkgrel=0
+pkgdesc="Portably generate config for any shell"
+url="http://search.cpan.org/dist/Shell-Config-Generate/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-shell-guess"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_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="4ec8afab38da4f266dcfd04ebe7d503a Shell-Config-Generate-0.24.tar.gz"
+sha256sums="b83b1b8e9b6bcef3626a3d54c1c937e1a0ce579ecd7c592383dc36b424225baf Shell-Config-Generate-0.24.tar.gz"
+sha512sums="0c1a95ec0f150a5776bcdb6d6ae6bcf59c29c7eec99c2f539f5dae7225507d785460890118ce82a7d2edbb17822e1fa19a9e5cf4a7e273d14cbce6284616ea7b Shell-Config-Generate-0.24.tar.gz"