wok-next diff perl-datetime-format-mail/receipt @ rev 19718

Up tty-clock (2.3) (thanks Pascal to pointing me right direction :)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 23 14:40:37 2017 +0300 (2017-05-23)
parents 7896f0694ef6
children 4e6503d7a19f
line diff
     1.1 --- a/perl-datetime-format-mail/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/perl-datetime-format-mail/receipt	Tue May 23 14:40:37 2017 +0300
     1.3 @@ -1,32 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-datetime-format-mail"
     1.7 -VERSION="0.3001"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="DateTime::Format::Mail module is a Perl extension."
    1.10 +VERSION="0.403"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="DateTime::Format::Mail - Convert between DateTime and RFC2822/822 \
    1.13 +formats"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL2"
    1.16 -SOURCE="DateTime-Format-Mail"
    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-Mail"
    1.21  
    1.22 -DEPENDS="perl"
    1.23 -BUILD_DEPENDS="perl-datetime perl-params-validate"
    1.24 +TARBALL="DateTime-Format-Mail-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL"
    1.26 +
    1.27 +DEPENDS="perl-datetime perl-params-validate"
    1.28 +BUILD_DEPENDS="$DEPENDS"
    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 -