wok-6.x rev 23310

updated perl-datetime (1.20 -> 1.52)
author Hans-G?nter Theisgen
date Mon Mar 30 14:39:36 2020 +0100 (2020-03-30)
parents 612b5be4bfc5
children 74e74aefd5c2
files perl-datetime/receipt
line diff
     1.1 --- a/perl-datetime/receipt	Mon Mar 30 14:17:01 2020 +0100
     1.2 +++ b/perl-datetime/receipt	Mon Mar 30 14:39:36 2020 +0100
     1.3 @@ -1,34 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime"
     1.7 -VERSION="1.20"
     1.8 +VERSION="1.52"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="DateTime module is a Perl extension."
    1.11 +SHORT_DESC="Perl extension DateTime."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="https://metacpan.org/release/DateTime"
    1.15 +
    1.16  SOURCE="DateTime"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://metacpan.org/release/DateTime"
    1.19 -WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.20 +WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL"
    1.21  
    1.22 -DEPENDS="perl perl-params-validate perl-test-exception perl-test-warnings \
    1.23 -perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \
    1.24 -perl-list-moreutils perl-try-tiny perl-test-simple perl-exporter-tiny \
    1.25 -perl-class-singleton"
    1.26 +DEPENDS="perl perl-class-singleton perl-datetime-locale perl-datetime-timezone 
    1.27 +	perl-exporter-tiny perl-list-moreutils perl-math-round perl-params-validate 
    1.28 +	perl-test-exception perl-test-fatal perl-test-warnings perl-test-simple 
    1.29 +	perl-try-tiny"
    1.30  BUILD_DEPENDS="$DEPENDS"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	cd $src
    1.36 -	perl Build.PL &&
    1.37 -	./Build --destdir $DESTDIR install
    1.38 +	perl Makefile.PL &&
    1.39 +	make &&
    1.40 +	make DESTDIR=$DESTDIR install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 +	cp -a $install/usr/lib	$fs/usr
    1.49  }
    1.50 -