wok-next diff tk/receipt @ rev 8922

Fix gob2: add bdep flex
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:33:54 2011 +0100 (2011-03-01)
parents b81a1aeb22bd
children e8768e5178a6
line diff
     1.1 --- a/tk/receipt	Sun Sep 26 18:47:05 2010 +0000
     1.2 +++ b/tk/receipt	Tue Mar 01 02:33:54 2011 +0100
     1.3 @@ -17,22 +17,17 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	# Redefine TK source path
     1.8 -	src=${SOURCE}${VERSION}/unix
     1.9 -
    1.10 -	cd $src
    1.11 +	cd $src/unix
    1.12  	./configure --prefix=/usr \
    1.13  	 --enable-threads \
    1.14  	 --enable-shared  $CONFIGURE_ARGS &&
    1.15  	make &&
    1.16 -	make DESTDIR=$PWD/_pkg install
    1.17 +	make DESTDIR=$DESTDIR install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	_pkg=${SOURCE}${VERSION}/unix/_pkg
    1.24 -	
    1.25  	mkdir -p $fs/usr/lib
    1.26  	cp -a $_pkg/usr/bin $fs/usr
    1.27  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.28 @@ -41,8 +36,3 @@
    1.29  	cd $fs/usr/bin
    1.30  	ln -s wish${VERSION%%.[0-9]} wish
    1.31  }
    1.32 -
    1.33 -clean_wok()
    1.34 -{
    1.35 -	test -d tk* && rm -rf tk*
    1.36 -}