wok view hubbub/receipt @ rev 6495

Up: gst-plugins-base, gst-plugins-base-dev to 0.10.30.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 01 03:20:58 2010 +0000 (2010-10-01)
parents b537813316cf
children bc238c62a0b3
line source
1 # SliTaz package receipt.
3 PACKAGE="hubbub"
4 VERSION="8960"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hubbub is a flexible HTML parser."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libparserutils"
9 BUILD_DEPENDS="subversion libparserutils-dev"
10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
17 if [ -f $TARBALL ]; then
18 tar xzf $TARBALL
19 else
20 svn co svn://svn.netsurf-browser.org/trunk/hubbub \
21 -r $VERSION $PACKAGE-$VERSION &&
22 tar czf $TARBALL $PACKAGE-$VERSION
23 fi
24 cd $src
25 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
26 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
27 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }