wok-next diff perl-http-message/receipt @ rev 20671

qemu, qemu-light: define prefix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:51:17 2018 +0300 (2018-05-11)
parents 1a86cb99cbbf
children 44d2daaccb67
line diff
     1.1 --- a/perl-http-message/receipt	Thu May 11 02:23:02 2017 +0300
     1.2 +++ b/perl-http-message/receipt	Fri May 11 14:51:17 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-http-message"
     1.8  VERSION="6.11"
     1.9 @@ -11,21 +11,17 @@
    1.10  TARBALL="HTTP-Message-$VERSION.tar.gz"
    1.11  WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL"
    1.12  
    1.13 -DEPENDS="perl-encode-locale perl-http-date perl-io-html perl-lwp-mediatypes \
    1.14 -perl-uri"
    1.15 -BUILD_DEPENDS="$DEPENDS"
    1.16 +BUILD_DEPENDS="perl-encode-locale perl-http-date perl-io-html \
    1.17 +perl-lwp-mediatypes perl-uri"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 +compile_rules() {
    1.23  	perl Makefile.PL &&
    1.24  	make && make DESTDIR=$install install &&
    1.25  
    1.26  	chmod -R u+w $install
    1.27  }
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 +genpkg_rules() {
    1.33  	copy @std
    1.34 +	DEPENDS="$BUILD_DEPENDS"
    1.35  }