wok-stable view perl-html-parser/receipt @ rev 8976

Up: bind to 9.8.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 10:01:09 2011 +0000 (2011-03-02)
parents 4ef022fd5963
children 952227a58f9e
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-html-parser"
4 VERSION="3.68"
5 CATEGORY="development"
6 SHORT_DESC="HTML::Parser module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl perl-html-tagset"
9 BUILD_DEPENDS="perl perl-html-tagset"
10 SOURCE="HTML-Parser"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cpan.org/modules/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $SOURCE $src 2> /dev/null
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }