wok-next diff perl-crypt-cbc/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents d337f2b3714f
children 4e6503d7a19f
line diff
     1.1 --- a/perl-crypt-cbc/receipt	Thu Aug 06 02:12:29 2015 +0000
     1.2 +++ b/perl-crypt-cbc/receipt	Tue Apr 10 10:14:26 2018 +0200
     1.3 @@ -2,30 +2,29 @@
     1.4  
     1.5  PACKAGE="perl-crypt-cbc"
     1.6  VERSION="2.33"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="Crypt::CBC module is a Perl extension."
     1.9 +CATEGORY="perl"
    1.10 +SHORT_DESC="Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode"
    1.11  MAINTAINER="nneul@neulinger.org"
    1.12  LICENSE="Perl"
    1.13 +WEB_SITE="https://metacpan.org/release/Crypt-CBC"
    1.14 +
    1.15 +TARBALL="Crypt-CBC-$VERSION.tar.gz"
    1.16 +WGET_URL="https://cpan.metacpan.org/authors/id/L/LD/LDS/$TARBALL"
    1.17 +
    1.18  DEPENDS="perl"
    1.19  BUILD_DEPENDS="perl"
    1.20 -SOURCE="Crypt-CBC"
    1.21 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.22 -WEB_SITE="http://cpan.org/"
    1.23 -WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	perl Makefile.PL
    1.30 -	make
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	perl Makefile.PL &&
    1.33 +	make && make DESTDIR=$install install &&
    1.34 +
    1.35 +	chmod -R u+w $install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/lib $fs/usr
    1.43 +	copy @std
    1.44  }
    1.45 -