wok diff perl-test-warnings/receipt @ rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents 15650f5d595b
children b27d8c263cba
line diff
     1.1 --- a/perl-test-warnings/receipt	Fri Sep 17 10:35:57 2021 +0000
     1.2 +++ b/perl-test-warnings/receipt	Sat Feb 19 14:19:02 2022 +0000
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-test-warnings"
     1.7 -VERSION="0.030"
     1.8 +VERSION="0.031"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Perl extension Test::Warnings."
    1.11  MAINTAINER="nneul@neulinger.org"
    1.12  LICENSE="GPL"
    1.13 -WEB_SITE="https://metacpan.org/release/Test-Warnings"
    1.14 +WEB_SITE="https://metacpan.org/pod/Test::Warnings"
    1.15 +REPOLOGY="perl:test-warnings"
    1.16  
    1.17  SOURCE="Test-Warnings"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19  WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
    1.20  
    1.21  DEPENDS="perl"
    1.22 -BUILD_DEPENDS="$DEPENDS"
    1.23 +BUILD_DEPENDS="perl"
    1.24  
    1.25  current_version()
    1.26  {
    1.27 @@ -26,11 +27,11 @@
    1.28  {
    1.29  	perl Makefile.PL &&
    1.30  	make &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	make install DESTDIR=$DESTDIR
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	cp -a $install/usr	$fs
    1.39 +	cook_copy_folders	lib
    1.40  }