wok rev 9767

libffcall: add CVS WGET_URL support
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 20:17:27 2011 +0200 (2011-05-11)
parents 51c9c3e65c18
children 695a299a5e52
files libffcall/receipt
line diff
     1.1 --- a/libffcall/receipt	Wed May 11 18:46:43 2011 +0200
     1.2 +++ b/libffcall/receipt	Wed May 11 20:17:27 2011 +0200
     1.3 @@ -5,31 +5,31 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Foreign function call libraries."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 +WEB_SITE="http://www.gnu.org/software/libffcall/"
     1.9 +WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
    1.10 +CVS_MODULE="ffcall"
    1.11 +
    1.12  DEPENDS=""
    1.13  BUILD_DEPENDS="cvs"
    1.14 -WEB_SITE="http://www.gnu.org/software/libffcall/"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.20 -	if [ -f $TARBALL ]; then
    1.21 -		tar xzf $TARBALL
    1.22 -	else	
    1.23 +	#TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.24 +	#if [ -f $TARBALL ]; then
    1.25 +		#tar xzf $TARBALL
    1.26 +	#else	
    1.27  		# No official tarball - so we have to use cvs.
    1.28 -		cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
    1.29 +		#cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
    1.30  
    1.31  		# $src = $PACKAGE-$VERSION
    1.32 -		mv ffcall $PACKAGE-$VERSION 2>/dev/null
    1.33 -		tar czf $TARBALL $PACKAGE-$VERSION
    1.34 -	fi
    1.35 +		#mv ffcall $PACKAGE-$VERSION 2>/dev/null
    1.36 +		#tar czf $TARBALL $PACKAGE-$VERSION
    1.37 +	#fi
    1.38  	cd $src
    1.39 -	./configure \
    1.40 -		--prefix=/usr \
    1.41 -		--infodir=/usr/share/info \
    1.42 -		--mandir=/usr/share/man \
    1.43 -		$CONFIGURE_ARGS &&
    1.44 -	make -j1 && make DESTDIR=$PWD/_pkg install
    1.45 +	./configure &&
    1.46 +	make -j1 && make install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.