wok annotate perl-html-entities/receipt @ rev 1743
perl-*: fix WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 20:55:51 2008 +0000 (2008-11-22) |
parents | 4a06e4596179 |
children |
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@1743 | 12 WEB_SITE="http://cpan.org/" |
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 |