wok-next rev 8558

imported patch get/libnsgif
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents e6a5f8e3a906
children 96db5f7822ae
files libnsgif/receipt
line diff
     1.1 --- a/libnsgif/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/libnsgif/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -7,19 +7,12 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  BUILD_DEPENDS="subversion"
     1.6  WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/"
     1.7 +WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libnsgif"
     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/libnsgif \
    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