wok-next annotate perl-datetime-format-strptime/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 44d2daaccb67 |
children | d5aab818505e |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-datetime-format-strptime" |
al@20820 | 4 VERSION="1.75" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="DateTime::Format::Strptime - Parse and format strp and strf time \ |
al@19709 | 7 patterns" |
nneul@18450 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
nneul@18450 | 9 LICENSE="GPL2" |
al@19709 | 10 WEB_SITE="https://metacpan.org/release/DateTime-Format-Strptime" |
al@20884 | 11 REPOLOGY="perl:datetime-format-strptime" |
nneul@18450 | 12 |
al@19709 | 13 TARBALL="DateTime-Format-Strptime-$VERSION.tar.gz" |
al@19709 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL" |
al@19709 | 15 |
al@19709 | 16 DEPENDS="perl-datetime perl-datetime-locale perl-datetime-timezone \ |
al@19709 | 17 perl-package-deprecationmanager perl-params-validationcompiler perl-specio \ |
al@19709 | 18 perl-try-tiny" |
al@19709 | 19 BUILD_DEPENDS="$DEPENDS perl-test-warnings" |
nneul@18450 | 20 |
nneul@18450 | 21 # Rules to configure and make the package. |
nneul@18450 | 22 compile_rules() |
nneul@18450 | 23 { |
nneul@18450 | 24 perl Makefile.PL && |
al@19709 | 25 make && make DESTDIR=$install install && |
al@19709 | 26 |
al@19709 | 27 chmod -R u+w $install |
nneul@18450 | 28 } |
nneul@18450 | 29 |
nneul@18450 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 31 genpkg_rules() |
nneul@18450 | 32 { |
al@19709 | 33 copy @std |
nneul@18450 | 34 } |