wok annotate perl-text-template/receipt @ rev 4912
yasr: update depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 13 20:10:25 2010 +0000 (2010-02-13) |
parents | e792375137ee |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1662 | 1 # SliTaz package receipt. |
pascal@1662 | 2 |
pascal@1662 | 3 PACKAGE="perl-text-template" |
pascal@1662 | 4 VERSION="1.44" |
pascal@1662 | 5 CATEGORY="development" |
pascal@1662 | 6 SHORT_DESC="Text::Template module is a Perl extension." |
pascal@1662 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1662 | 8 DEPENDS="perl" |
pascal@1662 | 9 BUILD_DEPENDS="perl" |
pascal@1662 | 10 SOURCE="Text-Template" |
pascal@1662 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 12 WEB_SITE="http://www.cpan.org/modules/" |
pascal@1662 | 13 WGET_URL="http://perl.plover.com/Template/$TARBALL" |
pascal@1662 | 14 |
pascal@1662 | 15 # Rules to configure and make the package. |
pascal@1662 | 16 compile_rules() |
pascal@1662 | 17 { |
pascal@1662 | 18 cd $src |
pascal@1662 | 19 perl Makefile.PL && |
pascal@1662 | 20 make && |
pascal@1662 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1662 | 22 } |
pascal@1662 | 23 |
pascal@1662 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1662 | 25 genpkg_rules() |
pascal@1662 | 26 { |
pascal@1662 | 27 mkdir -p $fs/usr |
pascal@1662 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1662 | 29 } |
pascal@1662 | 30 |