wok-next diff perl-eval-closure/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-eval-closure/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-eval-closure/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="perl-eval-closure"
     1.8  VERSION="0.14"
     1.9 @@ -12,20 +12,17 @@
    1.10  TARBALL="Eval-Closure-$VERSION.tar.gz"
    1.11  WGET_URL="https://cpan.metacpan.org/authors/id/D/DO/DOY/$TARBALL"
    1.12  
    1.13 -DEPENDS="perl"
    1.14  BUILD_DEPENDS="perl"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 +compile_rules() {
    1.20  	perl Makefile.PL &&
    1.21 -	make && make DESTDIR=$install install &&
    1.22 +	make &&
    1.23 +	make DESTDIR=$install install &&
    1.24  
    1.25  	chmod -R u+w $install
    1.26  }
    1.27  
    1.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 -genpkg_rules()
    1.30 -{
    1.31 +genpkg_rules() {
    1.32  	copy @std
    1.33 +	DEPENDS="perl"
    1.34  }