wok-next diff perl-html-tree/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4e6503d7a19f
children f17e1f86f546
line diff
     1.1 --- a/perl-html-tree/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-html-tree/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,10 +1,10 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="perl-html-tree"
     1.8  VERSION="5.07"
     1.9  CATEGORY="perl"
    1.10  SHORT_DESC="HTML::Tree - build and scan parse-trees of HTML"
    1.11 -MAINTAINER="slaxemulator@gmail.com"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL"
    1.14  WEB_SITE="https://metacpan.org/release/HTML-Tree"
    1.15  REPOLOGY="perl:html-tree"
    1.16 @@ -12,22 +12,19 @@
    1.17  TARBALL="HTML-Tree-$VERSION.tar.gz"
    1.18  WGET_URL="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/$TARBALL"
    1.19  
    1.20 -DEPENDS="perl-html-parser perl-html-tagset"
    1.21 -BUILD_DEPENDS="$DEPENDS perl-module-build perl-test-fatal perl-html-formatter \
    1.22 -perl-libwww-perl"
    1.23 +BUILD_DEPENDS="perl-html-parser perl-html-tagset perl-module-build \
    1.24 +perl-test-fatal perl-html-formatter perl-libwww-perl"
    1.25  # BDEP loop: 'perl-html-tree' needs 'perl-html-formatter' needs 'perl-html-tree'
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 +compile_rules() {
    1.31  	perl Build.PL &&
    1.32 -	./Build && ./Build install --destdir $install &&
    1.33 +	./Build &&
    1.34 +	./Build install --destdir $install &&
    1.35  
    1.36  	chmod -R u+w $install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	copy @std
    1.44 +	DEPENDS="perl-html-parser perl-html-tagset"
    1.45  }