wok-next annotate perl-datetime-format-w3cdtf/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime-format-w3cdtf" |
al@19709 | 4 VERSION="0.07" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="DateTime::Format::W3CDTF - Parse and format W3CDTF datetime strings" |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/DateTime-Format-W3CDTF" |
al@20884 | 10 REPOLOGY="perl:datetime-format-w3cdtf" |
al@19709 | 11 |
al@19709 | 12 TARBALL="DateTime-Format-W3CDTF-$VERSION.tar.gz" |
al@19709 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/$TARBALL" |
al@19709 | 14 |
al@21020 | 15 BUILD_DEPENDS="perl-datetime" |
pascal@9281 | 16 |
al@21020 | 17 compile_rules() { |
pascal@9281 | 18 perl Makefile.PL && |
al@21020 | 19 make && |
al@21020 | 20 make DESTDIR=$install install && |
al@19709 | 21 |
al@19709 | 22 chmod -R u+w $install |
pascal@9281 | 23 } |
pascal@9281 | 24 |
al@21020 | 25 genpkg_rules() { |
al@19709 | 26 copy @std |
al@21020 | 27 DEPENDS="perl-datetime" |
pascal@9281 | 28 } |