wok-current diff libparserutils/receipt @ rev 11916

squidguard: improve package
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 00:01:17 2012 +0100 (2012-03-01)
parents a11358feced4
children 6e24618e3b76
line diff
     1.1 --- a/libparserutils/receipt	Fri May 14 11:03:45 2010 +0200
     1.2 +++ b/libparserutils/receipt	Thu Mar 01 00:01:17 2012 +0100
     1.3 @@ -7,19 +7,12 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
     1.6  BUILD_DEPENDS="subversion"
     1.7 +WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libparserutils"
     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/libparserutils \
    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