wok-current annotate perl-datetime-format-strptime/receipt @ rev 24830
busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 06:49:50 2022 +0100 (2022-03-24) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-datetime-format-strptime" |
Hans-G?nter@24194 | 4 VERSION="1.79" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23311 | 6 SHORT_DESC="Perl extension DateTime::Format::Strptime." |
nneul@18450 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
nneul@18450 | 8 LICENSE="GPL2" |
Hans-G?nter@24194 | 9 WEB_SITE="https://metacpan.org/pod/DateTime::Format::Strptime" |
Hans-G?nter@24194 | 10 REPOLOGY="perl:datetime-format-strptime" |
Hans-G?nter@23311 | 11 |
nneul@18450 | 12 SOURCE="DateTime-Format-Strptime" |
nneul@18450 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23311 | 14 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" |
Hans-G?nter@23311 | 15 |
nneul@18450 | 16 DEPENDS="perl" |
nneul@18454 | 17 BUILD_DEPENDS="perl-datetime perl-params-validate perl-test-simple" |
nneul@18450 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
nneul@18450 | 25 # Rules to configure and make the package. |
nneul@18450 | 26 compile_rules() |
nneul@18450 | 27 { |
nneul@18450 | 28 perl Makefile.PL && |
nneul@18450 | 29 make && |
Hans-G?nter@24194 | 30 make install DESTDIR=$DESTDIR |
nneul@18450 | 31 } |
nneul@18450 | 32 |
nneul@18450 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 34 genpkg_rules() |
nneul@18450 | 35 { |
Hans-G?nter@24194 | 36 cook_copy_folders lib |
nneul@18450 | 37 } |