wok rev 23422

updated perltidy (20140711 -> 20200110)
author Hans-G?nter Theisgen
date Wed Apr 01 08:11:45 2020 +0100 (2020-04-01)
parents 396f1a263e34
children e28ff3691c2a
files perltidy/receipt
line diff
     1.1 --- a/perltidy/receipt	Wed Apr 01 08:00:18 2020 +0100
     1.2 +++ b/perltidy/receipt	Wed Apr 01 08:11:45 2020 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perltidy"
     1.7 -VERSION="20140711"
     1.8 +VERSION="20200110"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Perl Code Formatter"
    1.11 +SHORT_DESC="Perl Code Formatter."
    1.12  MAINTAINER="nneul@neulinger.org"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="https://metacpan.org/release/Perl-Tidy/"
    1.15 +
    1.16 +SOURCE="Perl-Tidy"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://www.cpan.org/modules/by-module/Perl/$TARBALL"
    1.19 +
    1.20  DEPENDS="perl"
    1.21  BUILD_DEPENDS="perl"
    1.22 -SOURCE="Perl-Tidy"
    1.23 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 -WEB_SITE="https://metacpan.org/release/Perl-Tidy/"
    1.25 -WGET_URL="http://www.cpan.org/authors/id/S/SH/SHANCOCK/$TARBALL"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	perl Makefile.PL &&
    1.32  	make && 
    1.33  	make DESTDIR=$DESTDIR install
    1.34 @@ -26,11 +27,10 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 +	cp -a $install/usr/bin	$fs/usr
    1.41 +	cp -a $install/usr/lib	$fs/usr
    1.42  
    1.43  	# remove perllocal.pod and .packlist
    1.44 -	find ${fs} -name perllocal.pod -delete
    1.45 -	find ${fs} -name .packlist -delete
    1.46 +	find $fs -name perllocal.pod -delete
    1.47 +	find $fs -name .packlist -delete
    1.48  }
    1.49 -