wok annotate perl-datetime/receipt @ rev 14835
xfce4-session: remove wrong trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 17 15:47:34 2013 +0200 (2013-07-17) |
parents | 062741b552e9 |
children | 3d257ce86aef |
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@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 |
slaxemulator@11977 | 14 DEPENDS="perl perl-params-validate perl-test-exception \ |
slaxemulator@11977 | 15 perl-datetime-locale perl-math-round perl-datetime-timezone" |
slaxemulator@11977 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 17 |
pascal@9281 | 18 # Rules to configure and make the package. |
pascal@9281 | 19 compile_rules() |
pascal@9281 | 20 { |
pascal@9281 | 21 cd $src |
pascal@9281 | 22 perl Build.PL && |
slaxemulator@10151 | 23 ./Build --destdir $DESTDIR install |
pascal@9281 | 24 } |
pascal@9281 | 25 |
pascal@9281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 27 genpkg_rules() |
pascal@9281 | 28 { |
pascal@9281 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 31 } |
pascal@9281 | 32 |