wok-next diff perl-common-sense/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 46fc8daa3b41 |
children | 4e6503d7a19f |
line diff
1.1 --- a/perl-common-sense/receipt Thu Sep 10 10:00:06 2015 +0200 1.2 +++ b/perl-common-sense/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -1,15 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="perl-common-sense" 1.7 -VERSION="3.73" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="common::sense module is a Perl extension." 1.10 +VERSION="3.74" 1.11 +CATEGORY="perl" 1.12 +SHORT_DESC="common::sense - save a tree AND a kitten, use common::sense!" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL" 1.15 -SOURCE="common-sense" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://cpan.org/" 1.18 -WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" 1.19 +WEB_SITE="https://metacpan.org/release/common-sense" 1.20 + 1.21 +TARBALL="common-sense-$VERSION.tar.gz" 1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" 1.23 1.24 DEPENDS="perl" 1.25 BUILD_DEPENDS="perl" 1.26 @@ -17,15 +17,14 @@ 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 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 -