wok rev 23357

updated perl-json (2.90 -> 4.02)
author Hans-G?nter Theisgen
date Tue Mar 31 10:16:26 2020 +0100 (2020-03-31)
parents ef7cfa91fe58
children 2c0ff3a9d1f1
files perl-json/receipt
line diff
     1.1 --- a/perl-json/receipt	Tue Mar 31 10:11:11 2020 +0100
     1.2 +++ b/perl-json/receipt	Tue Mar 31 10:16:26 2020 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-json"
     1.7 -VERSION="2.90"
     1.8 +VERSION="4.02"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Perl/CPAN Module JSON"
    1.11 +SHORT_DESC="Perl Module JSON."
    1.12  MAINTAINER="nneul@neulinger.org"
    1.13  LICENSE="Artistic"
    1.14 +WEB_SITE="https://metacpan.org/release/JSON/"
    1.15 +
    1.16 +SOURCE="JSON"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://www.cpan.org/modules/by-module/JSON/$TARBALL"
    1.19 +
    1.20  DEPENDS="perl"
    1.21  BUILD_DEPENDS="perl"
    1.22 -SOURCE="JSON"
    1.23 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 -WEB_SITE="https://metacpan.org/release/JSON/"
    1.25 -WGET_URL="http://www.cpan.org/authors/id/M/MA/MAKAMAKA/$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,9 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/lib $fs/usr
    1.39 +	cp -a $install/usr/lib	$fs/usr
    1.40 +
    1.41  	# remove perllocal.pod and .packlist
    1.42 -	find ${fs} -name perllocal.pod -delete
    1.43 -	find ${fs} -name .packlist -delete
    1.44 -
    1.45 -
    1.46 +	find $fs -name perllocal.pod -delete
    1.47 +	find $fs -name .packlist -delete
    1.48  }
    1.49 -