wok-next diff perl-datetime-format-strptime/receipt @ rev 20333

Up bmpanel2, urxvt, usbip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 16:27:09 2017 +0200 (2017-11-15)
parents 2dbc3b12b9ce
children 44d2daaccb67
line diff
     1.1 --- a/perl-datetime-format-strptime/receipt	Sun Sep 27 21:56:03 2015 +0000
     1.2 +++ b/perl-datetime-format-strptime/receipt	Wed Nov 15 16:27:09 2017 +0200
     1.3 @@ -1,32 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime-format-strptime"
     1.7 -VERSION="1.56"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DateTime::Format::Strptime module is a Perl extension."
    1.10 +VERSION="1.73"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DateTime::Format::Strptime - Parse and format strp and strf time \
    1.13 +patterns"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL2"
    1.16 -SOURCE="DateTime-Format-Strptime"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://cpan.org/"
    1.19 -WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.20 +WEB_SITE="https://metacpan.org/release/DateTime-Format-Strptime"
    1.21  
    1.22 -DEPENDS="perl"
    1.23 -BUILD_DEPENDS="perl-datetime perl-params-validate perl-test-simple"
    1.24 +TARBALL="DateTime-Format-Strptime-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.26 +
    1.27 +DEPENDS="perl-datetime perl-datetime-locale perl-datetime-timezone \
    1.28 +perl-package-deprecationmanager perl-params-validationcompiler perl-specio \
    1.29 +perl-try-tiny"
    1.30 +BUILD_DEPENDS="$DEPENDS perl-test-warnings"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	cd $src
    1.36  	perl Makefile.PL &&
    1.37 -	make &&
    1.38 -	make DESTDIR=$DESTDIR install
    1.39 +	make && make DESTDIR=$install install &&
    1.40 +
    1.41 +	chmod -R u+w $install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr
    1.48 -	cp -a $install/usr/lib $fs/usr
    1.49 +	copy @std
    1.50  }
    1.51 -