wok-next diff perl-yaml-syck/receipt @ rev 20762

Add leanify
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 05 17:27:09 2018 +0300 (2018-06-05)
parents dfb3d7f1daed
children 4e6503d7a19f
line diff
     1.1 --- a/perl-yaml-syck/receipt	Wed Jun 14 09:51:23 2017 +0300
     1.2 +++ b/perl-yaml-syck/receipt	Tue Jun 05 17:27:09 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-yaml-syck"
     1.8  VERSION="1.30"
     1.9 @@ -11,20 +11,16 @@
    1.10  TARBALL="YAML-Syck-$VERSION.tar.gz"
    1.11  WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$TARBALL"
    1.12  
    1.13 -DEPENDS="perl"
    1.14  BUILD_DEPENDS="perl-dev"
    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 -y &&
    1.21  	make && make DESTDIR=$install install &&
    1.22  
    1.23  	chmod -R u+w $install
    1.24  }
    1.25  
    1.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 -genpkg_rules()
    1.28 -{
    1.29 +genpkg_rules() {
    1.30  	copy @std
    1.31 +	DEPENDS="perl"
    1.32  }