wok-next diff perl-libwww-perl/receipt @ rev 20655

Up boxbackup (0.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 14:33:10 2018 +0300 (2018-05-04)
parents 1a86cb99cbbf
children 44d2daaccb67
line diff
     1.1 --- a/perl-libwww-perl/receipt	Thu May 11 02:23:02 2017 +0300
     1.2 +++ b/perl-libwww-perl/receipt	Fri May 04 14:33:10 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="perl-libwww-perl"
     1.8  VERSION="6.26"
     1.9 @@ -11,23 +11,19 @@
    1.10  TARBALL="libwww-perl-$VERSION.tar.gz"
    1.11  WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
    1.12  
    1.13 -DEPENDS="perl-encode-locale perl-file-listing perl-html-parser \
    1.14 +BUILD_DEPENDS="perl-encode-locale perl-file-listing perl-html-parser \
    1.15  perl-http-cookies perl-http-daemon perl-http-date perl-http-negotiate \
    1.16  perl-http-message perl-lwp-mediatypes perl-net-http perl-try-tiny perl-uri \
    1.17  perl-www-robotrules perl-test-fatal perl-test-requiresinternet"
    1.18 -BUILD_DEPENDS="$DEPENDS"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	perl Makefile.PL &&
    1.25  	make && make DESTDIR=$install install &&
    1.26  
    1.27  	chmod -R u+w $install
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 +genpkg_rules() {
    1.34  	copy @std
    1.35 +	DEPENDS="$BUILD_DEPENDS"
    1.36  }