wok-6.x view perl-datetime/receipt @ rev 14034
gst-plugins-bad-dev, gst-plugins-base-dev, gst-plugins-good-dev, gst-plugins-ugly-dev, schroedinger-dev: avoid one shot build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 14:54:08 2013 +0100 (2013-02-18) |
parents | 21d3d849daa2 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="0.70"
5 CATEGORY="development"
6 SHORT_DESC="DateTime module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="DateTime"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://search.cpan.org/dist/DateTime"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
13 DEPENDS="perl perl-params-validate perl-test-exception \
14 perl-datetime-locale perl-math-round perl-datetime-timezone"
15 BUILD_DEPENDS="$DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Build.PL &&
22 ./Build --destdir $DESTDIR 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 }