wok-6.x annotate perl-text-template/receipt @ rev 1958
Add lbreakout2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 31 12:47:00 2008 +0000 (2008-12-31) |
parents | |
children | 86d71949f3ad |
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@1662 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
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 |