wok-next diff perl-namespace-autoclean/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents 4e6503d7a19f
children f17e1f86f546
line diff
     1.1 --- a/perl-namespace-autoclean/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-namespace-autoclean/receipt	Mon Dec 03 14:47:30 2018 +0200
     1.3 @@ -12,20 +12,18 @@
     1.4  TARBALL="namespace-autoclean-$VERSION.tar.gz"
     1.5  WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL"
     1.6  
     1.7 -DEPENDS="perl-b-hooks-endofscope perl-namespace-clean perl-sub-identify"
     1.8 -BUILD_DEPENDS="$DEPENDS perl-test-requires"
     1.9 +BUILD_DEPENDS="perl-b-hooks-endofscope perl-namespace-clean perl-sub-identify \
    1.10 +perl-test-requires"
    1.11  
    1.12 -# Rules to configure and make the package.
    1.13 -compile_rules()
    1.14 -{
    1.15 +compile_rules() {
    1.16  	perl Makefile.PL &&
    1.17 -	make && make DESTDIR=$install install &&
    1.18 +	make &&
    1.19 +	make DESTDIR=$install install &&
    1.20  
    1.21  	chmod -R u+w $install
    1.22  }
    1.23  
    1.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 -genpkg_rules()
    1.26 -{
    1.27 +genpkg_rules() {
    1.28  	copy @std
    1.29 +	DEPENDS="perl-b-hooks-endofscope perl-namespace-clean perl-sub-identify"
    1.30  }