wok-current diff tcl/receipt @ rev 16026

Up ffmpeg and add to ARM, rm ffmpeg-svn and add git version, up mpg123 and more X pkgs to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 06:26:57 2014 +0100 (2014-03-08)
parents de49f29b101e
children f8e9bf4989d3
line diff
     1.1 --- a/tcl/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/tcl/receipt	Sat Mar 08 06:26:57 2014 +0100
     1.3 @@ -10,16 +10,23 @@
     1.4  WEB_SITE="http://tcl.sourceforge.net/"
     1.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.6  TAGS="language programming"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12 +	case "$ARCH" in
    1.13 +		arm*) 
    1.14 +			export tcl_cv_strtod_buggy=1
    1.15 +			export ac_cv_func_strtod=yes ;;
    1.16 +	esac
    1.17  	cd $src/unix
    1.18  	./configure \
    1.19 -	 --enable-shared \
    1.20 -	 --disable-symbols \
    1.21 -	 --mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.22 -	make && \
    1.23 +		 --enable-shared \
    1.24 +		 --disable-symbols \
    1.25 +		 --mandir=/usr/share/man \
    1.26 +		 $CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28  	make install install-private-headers
    1.29  }
    1.30  
    1.31 @@ -27,7 +34,7 @@
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/lib
    1.35 -	cp -a $install/usr/lib/tcl8* $fs/usr/lib
    1.36 +	cp -a $install/usr/lib/tcl8* $fs/usr/lib 2>/dev/null
    1.37  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39  	ln -sf tclsh8.5 $fs/usr/bin/tclsh