wok-next diff perl-test-requires/receipt @ rev 19933

iptstate, lsyncd: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 15 12:11:47 2017 +0200 (2017-10-15)
parents 3d257ce86aef
children 4e6503d7a19f
line diff
     1.1 --- a/perl-test-requires/receipt	Sun Sep 27 19:52:03 2015 +0000
     1.2 +++ b/perl-test-requires/receipt	Sun Oct 15 12:11:47 2017 +0200
     1.3 @@ -1,30 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-test-requires"
     1.7 -VERSION="0.09"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Test::Requires is a perl module"
    1.10 +VERSION="0.10"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Test::Requires - Checks to see if the module can be loaded"
    1.13  MAINTAINER="nneul@neulinger.org"
    1.14  LICENSE="GPL"
    1.15 -WEB_SITE="http://search.cpan.org/dist/Test-Requires"
    1.16 -SOURCE="Test-Requires"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WGET_URL="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/$TARBALL"
    1.19 +WEB_SITE="https://metacpan.org/release/Test-Requires"
    1.20 +
    1.21 +TARBALL="Test-Requires-$VERSION.tar.gz"
    1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/$TARBALL"
    1.23  
    1.24  DEPENDS="perl"
    1.25 -BUILD_DEPENDS="$DEPENDS"
    1.26 +BUILD_DEPENDS="perl"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	perl Makefile.PL &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make && make DESTDIR=$install install &&
    1.36 +
    1.37 +	chmod -R u+w $install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	cp -a $install/usr $fs
    1.44 +	copy @std
    1.45  }