wok-6.x annotate perl-datetime/receipt @ rev 10269
Up: perl-datetime to 0.70.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:58:37 2011 +0000 (2011-05-21) |
parents | c397d3775423 |
children | 225d25cad6bf |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
slaxemulator@10269 | 4 VERSION="0.70" |
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@9281 | 8 DEPENDS="perl" |
pascal@9281 | 9 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \ |
pascal@9281 | 10 perl-datetime-locale perl-datetime-timezone" |
pascal@9281 | 11 SOURCE="DateTime" |
pascal@9281 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 13 WEB_SITE="http://cpan.org/" |
pascal@9281 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 15 |
pascal@9281 | 16 # Rules to configure and make the package. |
pascal@9281 | 17 compile_rules() |
pascal@9281 | 18 { |
pascal@9281 | 19 cd $src |
pascal@9281 | 20 perl Build.PL && |
slaxemulator@10151 | 21 ./Build --destdir $DESTDIR install |
pascal@9281 | 22 } |
pascal@9281 | 23 |
pascal@9281 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 25 genpkg_rules() |
pascal@9281 | 26 { |
pascal@9281 | 27 mkdir -p $fs/usr |
pascal@9281 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@9281 | 29 } |
pascal@9281 | 30 |