wok-next annotate perl-text-template/receipt @ rev 15105
xfsprogs: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 16:29:21 2013 +0000 (2013-08-14) |
parents | 2d12ebd38be4 |
children | 1a86cb99cbbf |
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@15002 | 8 LICENSE="GPL2" |
pascal@1662 | 9 SOURCE="Text-Template" |
pascal@1662 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 11 WEB_SITE="http://www.cpan.org/modules/" |
pascal@1662 | 12 WGET_URL="http://perl.plover.com/Template/$TARBALL" |
pascal@1662 | 13 |
pascal@15002 | 14 DEPENDS="perl" |
pascal@15002 | 15 BUILD_DEPENDS="perl" |
pascal@15002 | 16 |
pascal@1662 | 17 # Rules to configure and make the package. |
pascal@1662 | 18 compile_rules() |
pascal@1662 | 19 { |
pascal@1662 | 20 cd $src |
pascal@1662 | 21 perl Makefile.PL && |
pascal@1662 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1662 | 24 } |
pascal@1662 | 25 |
pascal@1662 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1662 | 27 genpkg_rules() |
pascal@1662 | 28 { |
pascal@1662 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1662 | 31 } |
pascal@1662 | 32 |