wok-next annotate perl-datetime-timezone/receipt @ rev 20143
postgresql: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:18:25 2017 +0100 (2017-11-01) |
parents | 3d257ce86aef |
children | 44d2daaccb67 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime-timezone" |
al@19709 | 4 VERSION="2.11" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="DateTime::TimeZone - Time zone object base class and factory" |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/DateTime-TimeZone" |
al@19709 | 10 |
al@19709 | 11 TARBALL="DateTime-TimeZone-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-class-singleton perl-module-runtime perl-namespace-autoclean \ |
al@19709 | 15 perl-params-validationcompiler perl-specio perl-try-tiny" |
al@19709 | 16 BUILD_DEPENDS="$DEPENDS perl-test-requires" |
pascal@9281 | 17 |
pascal@9281 | 18 # Rules to configure and make the package. |
pascal@9281 | 19 compile_rules() |
pascal@9281 | 20 { |
pascal@9281 | 21 perl Makefile.PL && |
al@19709 | 22 make && make DESTDIR=$install install && |
al@19709 | 23 |
al@19709 | 24 chmod -R u+w $install |
pascal@9281 | 25 } |
pascal@9281 | 26 |
pascal@9281 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 28 genpkg_rules() |
pascal@9281 | 29 { |
al@19709 | 30 copy @std |
pascal@9281 | 31 } |