aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:08:04 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:08:04 +0000
commit29d3994854e7f30eae5293b047eb78446f03cb84 (patch)
tree1c6c8d0f4c6a05c59ed895b0f92be5ae823cccf4 /testing
parentabe81838951a58ad57cf6591909b10cafda47593 (diff)
downloadaports-29d3994854e7f30eae5293b047eb78446f03cb84.tar.bz2
aports-29d3994854e7f30eae5293b047eb78446f03cb84.tar.xz
testing/perl-patchreader: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-patchreader/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-patchreader/APKBUILD b/testing/perl-patchreader/APKBUILD
new file mode 100644
index 0000000000..962194563b
--- /dev/null
+++ b/testing/perl-patchreader/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-patchreader
+_pkgreal=PatchReader
+pkgver=0.9.6
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/PatchReader/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TM/TMANNERM/$_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="bd8da2388cd5ebc99a860b6d6bfeb8ad PatchReader-0.9.6.tar.gz"