aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-html-tableextract
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 14:28:36 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 14:28:36 +0000
commit493bede6eee1e37d6e2c7c0299a995e14eff1838 (patch)
tree775cc8ca666500b21c98eb92394ab433e84cf5f8 /testing/perl-html-tableextract
parent9814de9a30deb5ccd589c9f67573cf925b2ce718 (diff)
downloadaports-493bede6eee1e37d6e2c7c0299a995e14eff1838.tar.bz2
aports-493bede6eee1e37d6e2c7c0299a995e14eff1838.tar.xz
testing/perl-html-tableextract: new aport
Diffstat (limited to 'testing/perl-html-tableextract')
-rw-r--r--testing/perl-html-tableextract/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-html-tableextract/APKBUILD b/testing/perl-html-tableextract/APKBUILD
new file mode 100644
index 0000000000..0ffb0e5f44
--- /dev/null
+++ b/testing/perl-html-tableextract/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-html-tableextract
+_pkgreal=HTML-TableExtract
+pkgver=2.11
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/HTML-TableExtract/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-html-parser"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/$_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="ac1b8fa092d53931a9f3fdbba330f5b0 HTML-TableExtract-2.11.tar.gz"