aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-text-glob
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 10:56:35 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 10:56:35 +0000
commitb9f812ad2260887fd2a6686937742822857b53d4 (patch)
treefe44f8d8fdddb1dccb214e01fbf0a46e34926763 /testing/perl-text-glob
parente35770df02b68bef677b280beebab0afcdf276e8 (diff)
downloadaports-b9f812ad2260887fd2a6686937742822857b53d4.tar.bz2
aports-b9f812ad2260887fd2a6686937742822857b53d4.tar.xz
testing/perl-text-glob: new aport
Diffstat (limited to 'testing/perl-text-glob')
-rw-r--r--testing/perl-text-glob/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-text-glob/APKBUILD b/testing/perl-text-glob/APKBUILD
new file mode 100644
index 0000000000..3b3294878c
--- /dev/null
+++ b/testing/perl-text-glob/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-text-glob
+_pkgreal=Text-Glob
+pkgver=0.09
+pkgrel=0
+pkgdesc="match globbing patterns against text"
+url="http://search.cpan.org/dist/Text-Glob/"
+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/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="1daa10e087f891c49b720a5c551a024b Text-Glob-0.09.tar.gz"