wok-current rev 16504

Fix tcl build on ARM and add tcllib
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 03:51:21 2014 +0200 (2014-04-24)
parents a6049658b2aa
children 429355d87af5
files tcl/receipt tcllib/receipt
line diff
     1.1 --- a/tcl/receipt	Thu Apr 24 03:14:13 2014 +0200
     1.2 +++ b/tcl/receipt	Thu Apr 24 03:51:21 2014 +0200
     1.3 @@ -18,7 +18,8 @@
     1.4  	case "$ARCH" in
     1.5  		arm*) 
     1.6  			export tcl_cv_strtod_buggy=1
     1.7 -			export ac_cv_func_strtod=yes ;;
     1.8 +			export ac_cv_func_strtod=yes 
     1.9 +			sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
    1.10  	esac
    1.11  	cd $src/unix
    1.12  	./configure \
    1.13 @@ -34,7 +35,7 @@
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/lib
    1.17 -	cp -a $install/usr/lib/tcl8* $fs/usr/lib 2>/dev/null
    1.18 +	cp -a $install/usr/lib/tcl8* $fs/usr/lib
    1.19  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.20  	cp -a $install/usr/bin $fs/usr
    1.21  	ln -sf tclsh8.5 $fs/usr/bin/tclsh
     2.1 --- a/tcllib/receipt	Thu Apr 24 03:14:13 2014 +0200
     2.2 +++ b/tcllib/receipt	Thu Apr 24 03:51:21 2014 +0200
     2.3 @@ -9,6 +9,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://sourceforge.net/projects/tcllib/"
     2.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="tcl"
    2.10  BUILD_DEPENDS="tcl"
    2.11 @@ -16,11 +17,8 @@
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
    2.14  {
    2.15 -	cd $src
    2.16  	./configure \
    2.17  		--prefix=/usr \
    2.18 -		--infodir=/usr/share/info \
    2.19 -		--mandir=/usr/share/man \
    2.20  		$CONFIGURE_ARGS &&
    2.21  	make DESTDIR=$DESTDIR install
    2.22  }