wok-next diff perl-datetime-locale/receipt @ rev 19972

Up copyq (3.1.1), qedit (2.8.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 17 19:29:54 2017 +0200 (2017-10-17)
parents 2d12ebd38be4
children 44d2daaccb67
line diff
     1.1 --- a/perl-datetime-locale/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-datetime-locale/receipt	Tue Oct 17 19:29:54 2017 +0200
     1.3 @@ -1,31 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime-locale"
     1.7 -VERSION="0.45"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DateTime::Locale module is a Perl extension."
    1.10 +VERSION="1.16"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DateTime::Locale - Localization support for DateTime.pm"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 -DEPENDS="perl"
    1.16 -BUILD_DEPENDS="perl"
    1.17 -SOURCE="DateTime-Locale"
    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-Locale"
    1.22 +
    1.23 +TARBALL="DateTime-Locale-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.25 +
    1.26 +DEPENDS="perl-dist-checkconflicts perl-file-sharedir perl-scalar-list-utils \
    1.27 +perl-namespace-autoclean perl-params-validationcompiler perl-specio"
    1.28 +BUILD_DEPENDS="$DEPENDS perl-file-sharedir-install perl-cpan-meta-check \
    1.29 +perl-test-fatal perl-test-file-sharedir perl-test-requires perl-test-warnings"
    1.30  
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	cd $src
    1.35  	perl Makefile.PL &&
    1.36 -	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make && make DESTDIR=$install install &&
    1.39 +
    1.40 +	chmod -R u+w $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 +	copy @std
    1.49  }
    1.50 -