wok-6.x annotate perl-datetime/receipt @ rev 21489
posixovl: update xattr.h path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 16:45:54 2019 +0200 (2019-05-01) |
parents | 6e8b1bcb30e2 |
children | 0d774eb19bf9 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
nneul@18450 | 4 VERSION="1.20" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="DateTime module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 SOURCE="DateTime" |
pascal@9281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 11 WEB_SITE="https://metacpan.org/release/DateTime" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 13 |
nneul@18450 | 14 DEPENDS="perl perl-params-validate perl-test-exception perl-test-warnings \ |
nneul@18451 | 15 perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \ |
nneul@18453 | 16 perl-list-moreutils perl-try-tiny perl-test-simple perl-exporter-tiny \ |
nneul@18453 | 17 perl-class-singleton" |
slaxemulator@11977 | 18 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 19 |
pascal@9281 | 20 # Rules to configure and make the package. |
pascal@9281 | 21 compile_rules() |
pascal@9281 | 22 { |
pascal@9281 | 23 cd $src |
pascal@9281 | 24 perl Build.PL && |
slaxemulator@10151 | 25 ./Build --destdir $DESTDIR install |
pascal@9281 | 26 } |
pascal@9281 | 27 |
pascal@9281 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 29 genpkg_rules() |
pascal@9281 | 30 { |
pascal@9281 | 31 mkdir -p $fs/usr |
pascal@14702 | 32 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 33 } |
pascal@9281 | 34 |