wok-next diff perl-crypt-smbhash/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-crypt-smbhash/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-crypt-smbhash/receipt	Fri May 11 14:21:30 2018 +0300
     1.3 @@ -2,30 +2,30 @@
     1.4  
     1.5  PACKAGE="perl-crypt-smbhash"
     1.6  VERSION="0.12"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="Crypt::SmbHash module is a Perl extension."
     1.9 +CATEGORY="perl"
    1.10 +SHORT_DESC="Crypt::SmbHash - Perl-only implementation of lanman and nt md4 \
    1.11 +hash functions, for use in Samba style smbpasswd entries"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="https://metacpan.org/release/Crypt-SmbHash"
    1.15 +
    1.16 +TARBALL="Crypt-SmbHash-$VERSION.tar.gz"
    1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/B/BJ/BJKUIT/$TARBALL"
    1.18 +
    1.19  DEPENDS="perl"
    1.20  BUILD_DEPENDS="perl"
    1.21 -SOURCE="Crypt-SmbHash"
    1.22 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.23 -WEB_SITE="http://cpan.org/"
    1.24 -WGET_URL="http://cpan.org/authors/id/B/BJ/BJKUIT/$TARBALL"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	perl Makefile.PL
    1.31 -	make
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	perl Makefile.PL &&
    1.34 +	make && make DESTDIR=$install install &&
    1.35 +
    1.36 +	chmod -R u+w $install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/lib $fs/usr
    1.44 +	copy @std
    1.45  }
    1.46 -