wok diff tk/receipt @ rev 11020

get-virtualbox: update error message
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 14 17:03:16 2011 +0200 (2011-10-14)
parents e8768e5178a6
children de49f29b101e
line diff
     1.1 --- a/tk/receipt	Sun Mar 20 19:43:39 2011 +0000
     1.2 +++ b/tk/receipt	Fri Oct 14 17:03:16 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tk"
     1.7 -VERSION="8.5.9"
     1.8 +VERSION="8.5.10"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The TCL gui toolkit"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -10,7 +10,7 @@
    1.13  BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
    1.14  TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    1.15  WEB_SITE="http://tcl.sourceforge.net/"
    1.16 -WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/tcl/$TARBALL"
    1.18  TAGS="programming language"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21 @@ -28,10 +28,10 @@
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $_pkg/usr/bin $fs/usr
    1.26 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.27 -	cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
    1.28 +	cp -a $install/usr/bin $fs/usr
    1.29 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.30 +	cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
    1.31  	
    1.32  	cd $fs/usr/bin
    1.33 -	ln -s wish${VERSION%%.[0-9]} wish
    1.34 +	ln -s wish${VERSION:0:3} wish
    1.35  }