wok-stable annotate perl-text-template/receipt @ rev 6244
Up: libtorrent, libtorrent-dev to 0.12.6. rtorrent to 0.8.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 12 14:30:08 2010 +0000 (2010-09-12) |
parents | e792375137ee |
children |
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 |