wok diff tcl/receipt @ rev 8727

Fixed tcl.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 01:00:28 2011 +0000 (2011-02-19)
parents b81a1aeb22bd
children 7fc7fdaf0872
line diff
     1.1 --- a/tcl/receipt	Sun Sep 26 18:47:05 2010 +0000
     1.2 +++ b/tcl/receipt	Sat Feb 19 01:00:28 2011 +0000
     1.3 @@ -15,24 +15,19 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	# Redefine  source path src
     1.8 -	src=${SOURCE}${VERSION}/unix
     1.9 -
    1.10 -	cd $src
    1.11 -	./configure --prefix=/usr \
    1.12 -	 --infodir=/usr/share/info \
    1.13 +	cd $src/unix
    1.14 +	./configure \
    1.15  	 --enable-shared \
    1.16  	 --disable-symbols \
    1.17 -	 --mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.18 +	 --mandir=/usr/share/man && \
    1.19  	make && \
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +	make DESTDIR=$DESTDIR install
    1.22 +	cp -a $src/generic/tcl*.h $DESTDIR/usr/include
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	
    1.29 -	_pkg=${SOURCE}${VERSION}/unix/_pkg
    1.30  	mkdir -p $fs/usr/lib
    1.31  	cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
    1.32  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.33 @@ -40,7 +35,3 @@
    1.34  	strip -s $fs/usr/bin/*
    1.35  	ln -sf tclsh8.5 $fs/usr/bin/tclsh
    1.36  }
    1.37 -
    1.38 -clean_wok(){
    1.39 -	test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
    1.40 -}