wok diff python/receipt @ rev 16062

ARM: Xorg light dont build yet but we have a Kdrive Xfbdev for ARM now :-)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 01:33:20 2014 +0100 (2014-03-12)
parents 61bec0518c8c
children a1b05b1a9d1d
line diff
     1.1 --- a/python/receipt	Sat Mar 08 06:26:57 2014 +0100
     1.2 +++ b/python/receipt	Wed Mar 12 01:33:20 2014 +0100
     1.3 @@ -19,7 +19,8 @@
     1.4  
     1.5  # Handle cross compilation
     1.6  case "$ARCH" in
     1.7 -	arm*) BUILD_DEPENDS="bzip2-dev readline-dev ncursesw-dev tcl-dev" ;;
     1.8 +	arm*) BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev ncursesw-dev \
     1.9 +tcl-dev db-dev" ;;
    1.10  esac
    1.11  
    1.12  # Rules to configure and make the package.
    1.13 @@ -32,7 +33,12 @@
    1.14  	sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
    1.15  	case "$ARCH" in
    1.16  		arm*)
    1.17 -			#export ac_cv_file_dev__ptmx=yes
    1.18 +			#ac_cv_file__dev_ptmx=no
    1.19 +			#ac_cv_file__dev_ptc=no
    1.20 +			cp -s $CONFIG_SITE .
    1.21 +			CONFIG_SITE="$(pwd)/cook.site"
    1.22 +			echo 'ac_cv_file__dev_ptmx=no' >> $CONFIG_SITE
    1.23 +			echo 'ac_cv_file__dev_ptc=no' >> $CONFIG_SITE
    1.24  			./configure \
    1.25  				--disable-ipv6 \
    1.26  				--enable-shared \
    1.27 @@ -54,7 +60,7 @@
    1.28  	mkdir -p $fs/usr/include/${PACKAGE}$python_version
    1.29  	cp -a $install/usr/bin $fs/usr
    1.30  	cp -a $install/usr/lib $fs/usr
    1.31 -	# needed for mericurial to work now
    1.32 +	# needed for mercurial to work now
    1.33  	cp -a $install/usr/include/${PACKAGE}$python_version/pyconfig.h \
    1.34  		$fs/usr/include/${PACKAGE}$python_version
    1.35  	rm -f $fs/usr/bin/*-config