wok rev 8556

imported patch get/hubbub
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 932f88f59f24
children e6a5f8e3a906
files hubbub/receipt
line diff
     1.1 --- a/hubbub/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/hubbub/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -8,19 +8,12 @@
     1.4  DEPENDS="libparserutils"
     1.5  BUILD_DEPENDS="subversion libparserutils-dev"
     1.6  WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
     1.7 +WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/hubbub"
     1.8 +BRANCH="$VERSION"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.14 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    1.15 -	if [ -f $TARBALL ]; then
    1.16 -		tar xzf $TARBALL
    1.17 -	else
    1.18 -		svn co svn://svn.netsurf-browser.org/trunk/hubbub \
    1.19 -			-r $VERSION $PACKAGE-$VERSION &&
    1.20 -		tar czf $TARBALL $PACKAGE-$VERSION
    1.21 -	fi
    1.22  	cd $src
    1.23  	make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
    1.24  	make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr