wok annotate perl-html-parser/receipt @ rev 20118
zstd: add bdeps & deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 13 15:15:02 2017 +0200 (2017-10-13) |
parents | 952227a58f9e |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@2241 | 1 # SliTaz package receipt. |
pascal@2241 | 2 |
pascal@2241 | 3 PACKAGE="perl-html-parser" |
slaxemulator@7665 | 4 VERSION="3.68" |
pascal@2241 | 5 CATEGORY="development" |
pascal@2241 | 6 SHORT_DESC="HTML::Parser module is a Perl extension." |
pascal@2241 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@2241 | 9 DEPENDS="perl perl-html-tagset" |
pascal@2241 | 10 BUILD_DEPENDS="perl perl-html-tagset" |
pascal@2241 | 11 SOURCE="HTML-Parser" |
pascal@2241 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11840 | 13 WEB_SITE="http://search.cpan.org/~gaas/HTML-Parser/" |
pascal@2241 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@2241 | 15 |
pascal@2241 | 16 # Rules to configure and make the package. |
pascal@2241 | 17 compile_rules() |
pascal@2241 | 18 { |
pascal@2241 | 19 cd $src |
pascal@2241 | 20 perl Makefile.PL && |
pascal@2241 | 21 make && |
slaxemulator@11840 | 22 make DESTDIR=$DESTDIR install |
pascal@2241 | 23 } |
pascal@2241 | 24 |
pascal@2241 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2241 | 26 genpkg_rules() |
pascal@2241 | 27 { |
pascal@2241 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@2241 | 30 } |
pascal@2241 | 31 |