wok view perl-datetime/receipt @ rev 10026

gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 21:14:41 2011 +0200 (2011-05-19)
parents
children c397d3775423
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 #VERSION="0.66"
5 VERSION="0.53"
6 CATEGORY="development"
7 SHORT_DESC="DateTime module is a Perl extension."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
11 perl-datetime-locale perl-datetime-timezone"
12 SOURCE="DateTime"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://cpan.org/"
15 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Build.PL &&
22 ./Build --destdir $PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }