wok-next diff perl-datetime/receipt @ rev 19766

Up cookutils.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 12 11:40:38 2017 +0300 (2017-06-12)
parents a0dc460b7199
children dfb3d7f1daed
line diff
     1.1 --- a/perl-datetime/receipt	Sun Sep 27 21:47:52 2015 +0000
     1.2 +++ b/perl-datetime/receipt	Mon Jun 12 11:40:38 2017 +0300
     1.3 @@ -1,34 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime"
     1.7 -VERSION="1.20"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DateTime module is a Perl extension."
    1.10 +VERSION="1.42"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DateTime - A date and time object for Perl"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 -SOURCE="DateTime"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://search.cpan.org/dist/DateTime"
    1.18 -WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.19 +WEB_SITE="https://metacpan.org/release/DateTime"
    1.20  
    1.21 -DEPENDS="perl perl-params-validate perl-test-exception perl-test-warnings \
    1.22 -perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \
    1.23 -perl-list-moreutils perl-try-tiny perl-test-simple perl-exporter-tiny \
    1.24 -perl-class-singleton"
    1.25 -BUILD_DEPENDS="$DEPENDS"
    1.26 +TARBALL="DateTime-$VERSION.tar.gz"
    1.27 +WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.28 +
    1.29 +DEPENDS="perl-datetime-locale perl-datetime-timezone perl-dist-checkconflicts \
    1.30 +perl-namespace-autoclean perl-params-validationcompiler perl-specio \
    1.31 +perl-try-tiny"
    1.32 +BUILD_DEPENDS="$DEPENDS perl-cpan-meta-check perl-test-warnings"
    1.33  
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -	cd $src
    1.38 -	perl Build.PL &&
    1.39 -	./Build --destdir $DESTDIR install
    1.40 +	perl Makefile.PL &&
    1.41 +	make && make DESTDIR=$install install &&
    1.42 +
    1.43 +	chmod -R u+w $install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr
    1.50 -	cp -a $install/usr/lib $fs/usr
    1.51 +	copy @std
    1.52  }
    1.53 -