wok diff perl-json/receipt @ rev 24336
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 28 18:19:21 2022 +0000 (2022-01-28) |
parents | 15650f5d595b |
children |
line diff
1.1 --- a/perl-json/receipt Fri Sep 17 10:35:57 2021 +0000 1.2 +++ b/perl-json/receipt Fri Jan 28 18:19:21 2022 +0000 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="perl-json" 1.7 -VERSION="4.02" 1.8 +VERSION="4.04" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Perl Module JSON." 1.11 MAINTAINER="nneul@neulinger.org" 1.12 -LICENSE="Artistic" 1.13 -WEB_SITE="https://metacpan.org/release/JSON/" 1.14 +LICENSE="GPL" 1.15 +WEB_SITE="https://metacpan.org/pod/JSON" 1.16 +REPOLOGY="perl:json" 1.17 1.18 SOURCE="JSON" 1.19 TARBALL="$SOURCE-$VERSION.tar.gz" 1.20 @@ -26,15 +27,13 @@ 1.21 { 1.22 perl Makefile.PL && 1.23 make && 1.24 - make DESTDIR=$DESTDIR install 1.25 + make install DESTDIR=$DESTDIR 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 - mkdir -p $fs/usr 1.32 - cp -a $install/usr/lib $fs/usr 1.33 - 1.34 + cook_copy_folders lib 1.35 # remove perllocal.pod and .packlist 1.36 find $fs -name perllocal.pod -delete 1.37 find $fs -name .packlist -delete