wok-current rev 23341

updated perl-html-tree (4.1 -> 5.07)
author Hans-G?nter Theisgen
date Tue Mar 31 09:01:44 2020 +0100 (2020-03-31)
parents 98ee55c71888
children c9434b646eb7
files perl-html-tree/receipt
line diff
     1.1 --- a/perl-html-tree/receipt	Tue Mar 31 08:00:50 2020 +0100
     1.2 +++ b/perl-html-tree/receipt	Tue Mar 31 09:01:44 2020 +0100
     1.3 @@ -1,30 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-html-tree"
     1.7 -VERSION="4.1"
     1.8 +VERSION="5.07"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="HTML::Tree module is a Perl extension."
    1.11 +SHORT_DESC="Perl extension HTML::Tree."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="https://metacpan.org/release/HTML-Tree"
    1.15 +
    1.16 +SOURCE="HTML-Tree"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://www.cpan.org/modules/by-module/HTML/$TARBALL"
    1.19 +
    1.20  DEPENDS="perl perl-html-parser perl-html-tagset"
    1.21  BUILD_DEPENDS="perl perl-html-parser perl-html-tagset"
    1.22 -SOURCE="HTML-Tree"
    1.23 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 -WEB_SITE="https://metacpan.org/release/HTML-Tree"
    1.25 -WGET_URL="https://metacpan.org/CPAN/authors/id/J/JF/JFEARN/$TARBALL"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	perl Makefile.PL &&
    1.32 -	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	perl Build.PL 2>&1 | sed '/WARNINGS/d' &&
    1.35 +	./Build &&
    1.36 +	./Build --destdir $DESTDIR install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42  	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/lib $fs/usr
    1.44 +	cp -a $install/usr/lib	$fs/usr
    1.45  }