wok-next diff perl-datetime-timezone/receipt @ rev 20433

mupdf: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 05 15:11:20 2018 +0100 (2018-02-05)
parents 3d257ce86aef
children 44d2daaccb67
line diff
     1.1 --- a/perl-datetime-timezone/receipt	Sun Sep 27 19:52:03 2015 +0000
     1.2 +++ b/perl-datetime-timezone/receipt	Mon Feb 05 15:11:20 2018 +0100
     1.3 @@ -1,31 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime-timezone"
     1.7 -VERSION="1.93"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DateTime::Format::TimeZone module is a Perl extension."
    1.10 +VERSION="2.11"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DateTime::TimeZone - Time zone object base class and factory"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 -DEPENDS="perl"
    1.16 -BUILD_DEPENDS="perl"
    1.17 -SOURCE="DateTime-TimeZone"
    1.18 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="http://cpan.org/"
    1.20 -WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.21 +WEB_SITE="https://metacpan.org/release/DateTime-TimeZone"
    1.22 +
    1.23 +TARBALL="DateTime-TimeZone-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.25 +
    1.26 +DEPENDS="perl-class-singleton perl-module-runtime perl-namespace-autoclean \
    1.27 +perl-params-validationcompiler perl-specio perl-try-tiny"
    1.28 +BUILD_DEPENDS="$DEPENDS perl-test-requires"
    1.29  
    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 && make DESTDIR=$install install &&
    1.38 +
    1.39 +	chmod -R u+w $install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 +	copy @std
    1.48  }
    1.49 -