wok-next annotate perl-html-tree/receipt @ rev 20820
Update Perl modules
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 13 23:41:47 2018 +0300 (2018-06-13) |
parents | d5f32bb29d5a |
children | 4e6503d7a19f |
rev | line source |
---|---|
slaxemulator@9296 | 1 # SliTaz package receipt. |
slaxemulator@9296 | 2 |
slaxemulator@9296 | 3 PACKAGE="perl-html-tree" |
al@20820 | 4 VERSION="5.07" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="HTML::Tree - build and scan parse-trees of HTML" |
slaxemulator@9296 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/HTML-Tree" |
al@19709 | 10 |
al@19709 | 11 TARBALL="HTML-Tree-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-html-parser perl-html-tagset" |
al@19710 | 15 BUILD_DEPENDS="$DEPENDS perl-module-build perl-test-fatal perl-html-formatter \ |
al@19710 | 16 perl-libwww-perl" |
al@19709 | 17 # BDEP loop: 'perl-html-tree' needs 'perl-html-formatter' needs 'perl-html-tree' |
slaxemulator@9296 | 18 |
slaxemulator@9296 | 19 # Rules to configure and make the package. |
slaxemulator@9296 | 20 compile_rules() |
slaxemulator@9296 | 21 { |
al@19709 | 22 perl Build.PL && |
al@19709 | 23 ./Build && ./Build install --destdir $install && |
al@19709 | 24 |
al@19709 | 25 chmod -R u+w $install |
slaxemulator@9296 | 26 } |
slaxemulator@9296 | 27 |
slaxemulator@9296 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9296 | 29 genpkg_rules() |
slaxemulator@9296 | 30 { |
al@19709 | 31 copy @std |
slaxemulator@9296 | 32 } |