wok-current annotate perl-datetime/receipt @ rev 11879

quodlibet: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 28 08:39:45 2012 +0100 (2012-02-28)
parents af660d02860e
children 21d3d849daa2
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"
pascal@9281 10 WEB_SITE="http://cpan.org/"
pascal@9281 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
pascal@9281 12
pascal@11879 13 DEPENDS="perl"
pascal@11879 14 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
pascal@11879 15 perl-datetime-locale perl-datetime-timezone"
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