wok-6.x annotate perl-datetime/receipt @ rev 9508
Fixed libwnck again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 06 07:40:02 2011 +0000 (2011-04-06) |
parents | |
children | c397d3775423 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
pascal@9281 | 4 #VERSION="0.66" |
pascal@9281 | 5 VERSION="0.53" |
pascal@9281 | 6 CATEGORY="development" |
pascal@9281 | 7 SHORT_DESC="DateTime module is a Perl extension." |
pascal@9281 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9281 | 9 DEPENDS="perl" |
pascal@9281 | 10 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \ |
pascal@9281 | 11 perl-datetime-locale perl-datetime-timezone" |
pascal@9281 | 12 SOURCE="DateTime" |
pascal@9281 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 14 WEB_SITE="http://cpan.org/" |
pascal@9281 | 15 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 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 && |
pascal@9281 | 22 ./Build --destdir $PWD/_pkg 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 |