# HG changeset patch # User Hans-G?nter Theisgen # Date 1585575576 -3600 # Node ID 0d774eb19bf93d802b023bdb214dd2e5d714451a # Parent 612b5be4bfc5756f0219a113094f538111b19284 updated perl-datetime (1.20 -> 1.52) diff -r 612b5be4bfc5 -r 0d774eb19bf9 perl-datetime/receipt --- a/perl-datetime/receipt Mon Mar 30 14:17:01 2020 +0100 +++ b/perl-datetime/receipt Mon Mar 30 14:39:36 2020 +0100 @@ -1,34 +1,34 @@ # SliTaz package receipt. PACKAGE="perl-datetime" -VERSION="1.20" +VERSION="1.52" CATEGORY="development" -SHORT_DESC="DateTime module is a Perl extension." +SHORT_DESC="Perl extension DateTime." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" +WEB_SITE="https://metacpan.org/release/DateTime" + SOURCE="DateTime" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/release/DateTime" -WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" +WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" -DEPENDS="perl perl-params-validate perl-test-exception perl-test-warnings \ -perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \ -perl-list-moreutils perl-try-tiny perl-test-simple perl-exporter-tiny \ -perl-class-singleton" +DEPENDS="perl perl-class-singleton perl-datetime-locale perl-datetime-timezone + perl-exporter-tiny perl-list-moreutils perl-math-round perl-params-validate + perl-test-exception perl-test-fatal perl-test-warnings perl-test-simple + perl-try-tiny" BUILD_DEPENDS="$DEPENDS" # Rules to configure and make the package. compile_rules() { - cd $src - perl Build.PL && - ./Build --destdir $DESTDIR install + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cp -a $install/usr/lib $fs/usr } -