wok diff perl-datetime-locale/receipt @ rev 25123

updated ansible (2.9.10 -> 2.11.6)
author Hans-G?nter Theisgen
date Tue Jun 28 16:17:54 2022 +0100 (2022-06-28)
parents ca4a422cce07
children b27d8c263cba
line diff
     1.1 --- a/perl-datetime-locale/receipt	Fri Sep 17 14:12:38 2021 +0000
     1.2 +++ b/perl-datetime-locale/receipt	Tue Jun 28 16:17:54 2022 +0100
     1.3 @@ -1,17 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime-locale"
     1.7 -VERSION="0.45"
     1.8 +VERSION="1.33"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="DateTime::Locale module is a Perl extension."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 -DEPENDS="perl"
    1.14 -BUILD_DEPENDS="perl"
    1.15 +WEB_SITE="https://metacpan.org/pod/DateTime::Locale"
    1.16 +REPOLOGY="perl:datetime-locale"
    1.17 +
    1.18  SOURCE="DateTime-Locale"
    1.19  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="https://metacpan.org/dist/DateTime-Locale"
    1.21 -WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.22 +WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL"
    1.23 +
    1.24 +DEPENDS="perl"
    1.25 +BUILD_DEPENDS="perl perl-file-sharedir-install"
    1.26  
    1.27  current_version()
    1.28  {
    1.29 @@ -22,16 +25,13 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34  	perl Makefile.PL &&
    1.35  	make &&
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	make install DESTDIR=$DESTDIR
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/lib $fs/usr
    1.45 +	cook_copy_folders	lib
    1.46  }
    1.47 -