wok-6.x annotate perl-datetime/receipt @ rev 12382
Up: libassuan to 2.0.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:29:17 2012 +0000 (2012-04-19) |
parents | 21d3d849daa2 |
children | 2d12ebd38be4 |
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 SOURCE="DateTime" |
pascal@9281 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11977 | 10 WEB_SITE="http://search.cpan.org/dist/DateTime" |
pascal@9281 | 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 12 |
slaxemulator@11977 | 13 DEPENDS="perl perl-params-validate perl-test-exception \ |
slaxemulator@11977 | 14 perl-datetime-locale perl-math-round perl-datetime-timezone" |
slaxemulator@11977 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 16 |
pascal@9281 | 17 # Rules to configure and make the package. |
pascal@9281 | 18 compile_rules() |
pascal@9281 | 19 { |
pascal@9281 | 20 cd $src |
pascal@9281 | 21 perl Build.PL && |
slaxemulator@10151 | 22 ./Build --destdir $DESTDIR install |
pascal@9281 | 23 } |
pascal@9281 | 24 |
pascal@9281 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 26 genpkg_rules() |
pascal@9281 | 27 { |
pascal@9281 | 28 mkdir -p $fs/usr |
pascal@9281 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@9281 | 30 } |
pascal@9281 | 31 |