wok annotate perl-datetime/receipt @ rev 19332
Add kilo
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jul 15 19:10:20 2016 +0100 (2016-07-15) |
parents | 615dd0551477 |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@11977 | 11 WEB_SITE="http://search.cpan.org/dist/DateTime" |
pascal@9281 | 12 WGET_URL="http://search.cpan.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 |