wok-next diff perl-file-find-rule/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-file-find-rule/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-file-find-rule/receipt	Sat Mar 10 17:39:42 2018 +0200
     1.3 @@ -1,32 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-file-find-rule"
     1.7 -VERSION="0.32"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Perl/CPAN Module File::Find::Rule."
    1.10 +VERSION="0.34"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="File::Find::Rule - Alternative interface to File::Find"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL"
    1.15 -DEPENDS="perl-text-glob perl-number-compare perl"
    1.16 +WEB_SITE="https://metacpan.org/release/File-Find-Rule"
    1.17 +
    1.18 +TARBALL="File-Find-Rule-$VERSION.tar.gz"
    1.19 +WGET_URL="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/$TARBALL"
    1.20 +
    1.21 +DEPENDS="perl-number-compare perl-text-glob"
    1.22  BUILD_DEPENDS="$DEPENDS"
    1.23 -SOURCE="File-Find-Rule"
    1.24 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.25 -WEB_SITE="http://search.cpan.org/dist/File-Find-Rule/"
    1.26 -WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL"
    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 install DESTDIR=$DESTDIR
    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 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib $fs/usr
    1.46 +	copy @std
    1.47  }
    1.48 -