wok-6.x annotate perl-html-entities/receipt @ rev 1673
Add perl-html-entities
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:57:29 2008 +0000 (2008-11-08) |
parents | |
children | d38ad8b2c6a5 |
rev | line source |
---|---|
pascal@1673 | 1 # SliTaz package receipt. |
pascal@1673 | 2 |
pascal@1673 | 3 PACKAGE="perl-html-entities" |
pascal@1673 | 4 VERSION="3.56" |
pascal@1673 | 5 CATEGORY="development" |
pascal@1673 | 6 SHORT_DESC="HTML::Entities module is a Perl extension." |
pascal@1673 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1673 | 8 DEPENDS="perl" |
pascal@1673 | 9 BUILD_DEPENDS="perl" |
pascal@1673 | 10 SOURCE="HTML-Parser" |
pascal@1673 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1673 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@1673 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1673 | 14 |
pascal@1673 | 15 # Rules to configure and make the package. |
pascal@1673 | 16 compile_rules() |
pascal@1673 | 17 { |
pascal@1673 | 18 cd $src |
pascal@1673 | 19 perl Makefile.PL && |
pascal@1673 | 20 make && |
pascal@1673 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1673 | 22 } |
pascal@1673 | 23 |
pascal@1673 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1673 | 25 genpkg_rules() |
pascal@1673 | 26 { |
pascal@1673 | 27 mkdir -p $fs/usr |
pascal@1673 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1673 | 29 } |
pascal@1673 | 30 |