wok-stable annotate hubbub/receipt @ rev 2825

Add hubbub (HTML parser)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 29 21:30:28 2009 +0200 (2009-04-29)
parents
children 83008a752b17
rev   line source
pankso@2825 1 # SliTaz package receipt.
pankso@2825 2
pankso@2825 3 PACKAGE="hubbub"
pankso@2825 4 VERSION="7369"
pankso@2825 5 CATEGORY="system-tools"
pankso@2825 6 SHORT_DESC="Hubbub is a flexible HTML parser."
pankso@2825 7 MAINTAINER="pankso@slitaz.org"
pankso@2825 8 DEPENDS="libparserutils"
pankso@2825 9 BUILD_DEPENDS="subversion libparserutils-dev"
pankso@2825 10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
pankso@2825 11
pankso@2825 12 # Rules to configure and make the package.
pankso@2825 13 compile_rules()
pankso@2825 14 {
pankso@2825 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@2825 16 svn co svn://svn.netsurf-browser.org/trunk/hubbub \
pankso@2825 17 -r $VERSION $PACKAGE-$VERSION
pankso@2825 18 cd $src
pankso@2825 19 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
pankso@2825 20 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
pankso@2825 21 }
pankso@2825 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2825 23 genpkg_rules()
pankso@2825 24 {
pankso@2825 25 mkdir -p $fs/usr/lib
pankso@2825 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2825 27 }