wok diff perl-datetime/receipt @ rev 9663

pcre: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 09:13:52 2011 +0200 (2011-05-01)
parents
children c397d3775423
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-datetime/receipt	Sun May 01 09:13:52 2011 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="perl-datetime"
     1.7 +#VERSION="0.66"
     1.8 +VERSION="0.53"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="DateTime module is a Perl extension."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +DEPENDS="perl"
    1.13 +BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
    1.14 +perl-datetime-locale perl-datetime-timezone"
    1.15 +SOURCE="DateTime"
    1.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 +WEB_SITE="http://cpan.org/"
    1.18 +WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	perl Build.PL &&
    1.25 +	./Build --destdir $PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33 +}
    1.34 +