aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-string-shellquote
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 07:46:20 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:11:12 +0000
commitd1d8b522d3ce77012828d910fe5da07a3e536011 (patch)
tree5a8ca2bd3df185df592d69d1760b53a0b25691cf /main/perl-string-shellquote
parent0be3a1fcd4dc49b8aff83feba4ea568ce129a9d8 (diff)
downloadaports-d1d8b522d3ce77012828d910fe5da07a3e536011.tar.bz2
aports-d1d8b522d3ce77012828d910fe5da07a3e536011.tar.xz
main/perl-string-shellquote: new aport
Diffstat (limited to 'main/perl-string-shellquote')
-rw-r--r--main/perl-string-shellquote/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-string-shellquote/APKBUILD b/main/perl-string-shellquote/APKBUILD
new file mode 100644
index 0000000000..dc522a601e
--- /dev/null
+++ b/main/perl-string-shellquote/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-string-shellquote
+_pkgreal=String-ShellQuote
+pkgver=1.04
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/String-ShellQuote/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_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="da6329dc482b21adf5697cfbd2ac5412 String-ShellQuote-1.04.tar.gz"
+sha256sums="e606365038ce20d646d255c805effdd32f86475f18d43ca75455b00e4d86dd35 String-ShellQuote-1.04.tar.gz"
+sha512sums="f5b472985fb9c15d5c82c03b5c6c90a3a545ada854b90a96cfb7b0f57b8a817707ed91ca0f20344a2b8d200fe365ea737a9b39b64d526310d41ac2466552236d String-ShellQuote-1.04.tar.gz"