wok-6.x annotate perl-datetime/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
Hans-G?nter@24193 | 4 VERSION="1.55" |
pascal@9281 | 5 CATEGORY="development" |
Hans-G?nter@23310 | 6 SHORT_DESC="Perl extension DateTime." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24193 | 9 WEB_SITE="https://metacpan.org/pod/DateTime" |
Hans-G?nter@24193 | 10 REPOLOGY="perl:datetime" |
Hans-G?nter@23310 | 11 |
pascal@9281 | 12 SOURCE="DateTime" |
pascal@9281 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23310 | 14 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" |
pascal@9281 | 15 |
Hans-G?nter@24193 | 16 DEPENDS="perl perl-class-singleton perl-datetime-locale |
Hans-G?nter@24193 | 17 perl-datetime-timezone perl-exporter-tiny perl-list-moreutils |
Hans-G?nter@24193 | 18 perl-math-round perl-params-validate perl-test-exception |
Hans-G?nter@24193 | 19 perl-test-fatal perl-test-simple perl-test-warnings |
Hans-G?nter@23310 | 20 perl-try-tiny" |
slaxemulator@11977 | 21 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 22 |
pascal@24102 | 23 current_version() |
pascal@24102 | 24 { |
pascal@24102 | 25 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 26 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 27 } |
pascal@24102 | 28 |
pascal@9281 | 29 # Rules to configure and make the package. |
pascal@9281 | 30 compile_rules() |
pascal@9281 | 31 { |
Hans-G?nter@23310 | 32 perl Makefile.PL && |
Hans-G?nter@23310 | 33 make && |
Hans-G?nter@23310 | 34 make DESTDIR=$DESTDIR install |
pascal@9281 | 35 } |
pascal@9281 | 36 |
pascal@9281 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 38 genpkg_rules() |
pascal@9281 | 39 { |
Hans-G?nter@24193 | 40 cook_copy_folders lib |
pascal@9281 | 41 } |