aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-tree/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-10-26 08:27:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2012-10-26 08:27:43 +0300
commit3de51cd0a62aafc8d7c640d94d3efbf2a3bdcdde (patch)
tree82f8f78f5d000ce51426a4bf59253fe2840d706a /main/perl-html-tree/APKBUILD
parent44e39cd52539032aba8e6337e163606a029319bb (diff)
downloadaports-3de51cd0a62aafc8d7c640d94d3efbf2a3bdcdde.tar.gz
aports-3de51cd0a62aafc8d7c640d94d3efbf2a3bdcdde.tar.bz2
aports-3de51cd0a62aafc8d7c640d94d3efbf2a3bdcdde.tar.xz
main/perl-html-tree: upgrade to 5.03
Diffstat (limited to 'main/perl-html-tree/APKBUILD')
-rw-r--r--main/perl-html-tree/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/perl-html-tree/APKBUILD b/main/perl-html-tree/APKBUILD
index c564a23e1c..92c355e804 100644
--- a/main/perl-html-tree/APKBUILD
+++ b/main/perl-html-tree/APKBUILD
@@ -3,29 +3,31 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-html-tree
_pkgreal=HTML-Tree
-pkgver=4.2
+pkgver=5.03
pkgrel=0
-pkgdesc="Class for objects that represent HTML elements"
+pkgdesc="Work with HTML in a DOM-like tree structure"
url="http://search.cpan.org/dist/HTML-Tree/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-html-tagset perl-html-parser"
-cpanmakedepends="perl-html-tagset perl-test-exception perl-html-parser"
+cpanmakedepends="perl-test-fatal"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/$_pkgreal-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/$_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"
- ./Build
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
}
package() {
@@ -34,4 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="a145ad037ac54b6192c0046383d267da HTML-Tree-4.2.tar.gz"
+md5sums="d9271d60b872ed6fbe68b2d0fe8c450e HTML-Tree-5.03.tar.gz"