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