# HG changeset patch # User Pascal Bellard # Date 1234722013 0 # Node ID 4ef022fd5963ae2c084f64313debe5aaa95ba238 # Parent fb4f9c3eb15693e7b3a0652f4e61ce49c70c3841 Add perl-html-parser diff -r fb4f9c3eb156 -r 4ef022fd5963 perl-html-parser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-html-parser/receipt Sun Feb 15 18:20:13 2009 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-html-parser" +VERSION="3.60" +CATEGORY="development" +SHORT_DESC="HTML::Parser module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl perl-html-tagset" +BUILD_DEPENDS="perl perl-html-tagset" +SOURCE="HTML-Parser" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mv $SOURCE $src 2> /dev/null + cd $src + perl Makefile.PL && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +