wok-current diff gnet/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents 17e313b5b9c1
children 373f11838ade
line diff
     1.1 --- a/gnet/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/gnet/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.3 @@ -8,7 +8,7 @@
     1.4  LICENSE="LGPL"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WEB_SITE="http://www.gnetlibrary.org/"
     1.7 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$TARBALL"
     1.8 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/${VERSION%.*}/$TARBALL"
     1.9  
    1.10  DEPENDS="glib"
    1.11  BUILD_DEPENDS="glib-dev util-linux-uuid-dev" 
    1.12 @@ -18,7 +18,6 @@
    1.13  {
    1.14  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.15  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
    1.16 -	cd $src
    1.17  	./configure \
    1.18  		--prefix=/usr \
    1.19  		--infodir=/usr/share/info \
    1.20 @@ -34,4 +33,3 @@
    1.21  	mkdir -p $fs/usr/lib
    1.22  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.23  }
    1.24 -