wok-current diff perl-common-sense/receipt @ rev 24425

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 17:50:36 2022 +0000 (2022-02-11)
parents 15650f5d595b
children
line diff
     1.1 --- a/perl-common-sense/receipt	Fri Sep 17 10:35:57 2021 +0000
     1.2 +++ b/perl-common-sense/receipt	Fri Feb 11 17:50:36 2022 +0000
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-common-sense"
     1.7 -VERSION="3.74"
     1.8 +VERSION="3.75"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Perl extension common::sense."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 -WEB_SITE="https://metacpan.org/release/common-sense"
    1.14 +WEB_SITE="https://metacpan.org/pod/common::sense"
    1.15 +REPOLOGY="perl:common-sense"
    1.16  
    1.17  SOURCE="common-sense"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL"
    1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/$TARBALL"
    1.21  
    1.22  DEPENDS="perl"
    1.23  BUILD_DEPENDS="perl"
    1.24 @@ -24,14 +25,13 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	perl Makefile.PL
    1.29 -	make
    1.30 -	make DESTDIR=$DESTDIR install
    1.31 +	perl Makefile.PL &&
    1.32 +	make &&
    1.33 +	make install DESTDIR=$DESTDIR
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/lib	$fs/usr
    1.41 +	cook_copy_folders	lib
    1.42  }