wok-stable rev 8727

Fixed tcl.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 01:00:28 2011 +0000 (2011-02-19)
parents 8c897d2542ab
children 53261b54542e
files tcl-dev/receipt tcl/receipt
line diff
     1.1 --- a/tcl-dev/receipt	Fri Feb 18 22:24:19 2011 +0000
     1.2 +++ b/tcl-dev/receipt	Sat Feb 19 01:00:28 2011 +0000
     1.3 @@ -10,18 +10,12 @@
     1.4  TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
     1.5  WEB_SITE="http://tcl.sourceforge.net/"
     1.6  
     1.7 -
     1.8  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.9  genpkg_rules()
    1.10  {
    1.11 -	
    1.12 -	src=$WOK/$WANTED/${WANTED}${VERSION}
    1.13 -	_pkg=$src/unix/_pkg
    1.14 -	
    1.15  	mkdir -p $fs/usr/lib
    1.16  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.17  	cp -a $_pkg/usr/lib/tclConfig.sh $fs/usr/lib
    1.18  	cp -a $_pkg/usr/include $fs/usr
    1.19 -	cp -a $src/generic/tcl*.h $fs/usr/include
    1.20  }
    1.21  
     2.1 --- a/tcl/receipt	Fri Feb 18 22:24:19 2011 +0000
     2.2 +++ b/tcl/receipt	Sat Feb 19 01:00:28 2011 +0000
     2.3 @@ -15,24 +15,19 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	# Redefine  source path src
     2.8 -	src=${SOURCE}${VERSION}/unix
     2.9 -
    2.10 -	cd $src
    2.11 -	./configure --prefix=/usr \
    2.12 -	 --infodir=/usr/share/info \
    2.13 +	cd $src/unix
    2.14 +	./configure \
    2.15  	 --enable-shared \
    2.16  	 --disable-symbols \
    2.17 -	 --mandir=/usr/share/man $CONFIGURE_ARGS && \
    2.18 +	 --mandir=/usr/share/man && \
    2.19  	make && \
    2.20 -	make DESTDIR=$PWD/_pkg install
    2.21 +	make DESTDIR=$DESTDIR install
    2.22 +	cp -a $src/generic/tcl*.h $DESTDIR/usr/include
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28 -	
    2.29 -	_pkg=${SOURCE}${VERSION}/unix/_pkg
    2.30  	mkdir -p $fs/usr/lib
    2.31  	cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
    2.32  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.33 @@ -40,7 +35,3 @@
    2.34  	strip -s $fs/usr/bin/*
    2.35  	ln -sf tclsh8.5 $fs/usr/bin/tclsh
    2.36  }
    2.37 -
    2.38 -clean_wok(){
    2.39 -	test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
    2.40 -}