wok-current rev 16493
ARM: add tk (so we may have Python IDLE)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 15:29:12 2014 +0200 (2014-04-23) |
parents | abc3060c2af2 |
children | cfa58aeee489 |
files | tcl-dev/receipt tk-dev/receipt tk/receipt |
line diff
1.1 --- a/tcl-dev/receipt Wed Apr 23 14:42:13 2014 +0200 1.2 +++ b/tcl-dev/receipt Wed Apr 23 15:29:12 2014 +0200 1.3 @@ -19,4 +19,5 @@ 1.4 cp -a $install/usr/lib/*.*a $fs/usr/lib 1.5 cp -a $install/usr/lib/tclConfig.sh $fs/usr/lib 1.6 cp -a $install/usr/include $fs/usr 1.7 + chmod +x $fs/usr/lib/tclConfig.sh 1.8 }
2.1 --- a/tk-dev/receipt Wed Apr 23 14:42:13 2014 +0200 2.2 +++ b/tk-dev/receipt Wed Apr 23 15:29:12 2014 +0200 2.3 @@ -9,6 +9,7 @@ 2.4 SOURCE="tk" 2.5 WEB_SITE="http://tcl.sourceforge.net/" 2.6 WANTED="tk" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 DEPENDS="tcl tk" 2.10
3.1 --- a/tk/receipt Wed Apr 23 14:42:13 2014 +0200 3.2 +++ b/tk/receipt Wed Apr 23 15:29:12 2014 +0200 3.3 @@ -10,6 +10,7 @@ 3.4 WEB_SITE="http://tcl.sourceforge.net/" 3.5 WGET_URL="$SF_MIRROR/tcl/$TARBALL" 3.6 TAGS="programming language" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ 3.10 xorg-libXft xorg-libXrender zlib xorg-libXss" 3.11 @@ -18,10 +19,17 @@ 3.12 # Rules to configure and make the package. 3.13 compile_rules() 3.14 { 3.15 + case "$ARCH" in 3.16 + arm*) 3.17 + export tcl_cv_strtod_buggy=1 3.18 + export ac_cv_func_strtod=yes ;; 3.19 + esac 3.20 cd $src/unix 3.21 - ./configure --prefix=/usr \ 3.22 - --enable-threads \ 3.23 - --enable-shared $CONFIGURE_ARGS && 3.24 + ./configure \ 3.25 + --prefix=/usr \ 3.26 + --enable-threads \ 3.27 + --enable-shared \ 3.28 + ${CONFIGURE_ARGS} && 3.29 make && 3.30 make DESTDIR=$DESTDIR install 3.31 }