wok-4.x annotate perl-date-manip/receipt @ rev 9424
ovz-web-panel: Change DEPENDS + cleaning
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 30 23:44:21 2011 +0200 (2011-03-30) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@9306 | 1 # SliTaz package receipt. |
slaxemulator@9306 | 2 |
slaxemulator@9306 | 3 PACKAGE="perl-date-manip" |
slaxemulator@9306 | 4 VERSION="6.22" |
slaxemulator@9306 | 5 CATEGORY="development" |
slaxemulator@9306 | 6 SHORT_DESC="Date::Manip module is a Perl extension." |
slaxemulator@9306 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9306 | 8 DEPENDS="perl perl-yaml-syck" |
slaxemulator@9306 | 9 BUILD_DEPENDS="perl perl-yaml-syck" |
slaxemulator@9306 | 10 SOURCE="Date-Manip" |
slaxemulator@9306 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9306 | 12 WEB_SITE="http://search.cpan.org/dist/Date-Manip/" |
slaxemulator@9306 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$TARBALL" |
slaxemulator@9306 | 14 |
slaxemulator@9306 | 15 # Rules to configure and make the package. |
slaxemulator@9306 | 16 compile_rules() |
slaxemulator@9306 | 17 { |
slaxemulator@9306 | 18 cd $src |
slaxemulator@9306 | 19 perl Makefile.PL && |
slaxemulator@9306 | 20 make && |
slaxemulator@9306 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9306 | 22 } |
slaxemulator@9306 | 23 |
slaxemulator@9306 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9306 | 25 genpkg_rules() |
slaxemulator@9306 | 26 { |
slaxemulator@9306 | 27 mkdir -p $fs/usr |
slaxemulator@9306 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9306 | 29 } |