wok-next view perl-html-tree/receipt @ rev 21068
Rebuild Perl modules
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 11 23:38:35 2018 +0200 (2018-12-11) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="HTML-Tree"
4 PACKAGE="perl-html-tree"
5 VERSION="5.07"
6 AUTHOR="KENTNL"
7 CATEGORY="perl"
8 SHORT_DESC="HTML::Tree - build and scan parse-trees of HTML"
9 MAINTAINER="devel@slitaz.org"
10 LICENSE="GPL"
11 WEB_SITE="https://metacpan.org/release/$ORIGIN"
12 HOST_ARCH="any"
13 REPOLOGY="${PACKAGE/-/:}"
15 TARBALL="$ORIGIN-$VERSION.tar.gz"
16 WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
18 DEPENDS_std="perl-html-parser perl-html-tagset"
19 BUILD_DEPENDS="$DEPENDS_std perl-module-build perl-test-fatal \
20 perl-html-formatter perl-libwww-perl"
21 # BDEP loop: 'perl-html-tree' needs 'perl-html-formatter' needs 'perl-html-tree'
23 compile_rules() {
24 perl Build.PL &&
25 ./Build &&
26 ./Build install --destdir $install &&
28 chmod -R u+w $install
29 }