wok-6.x diff python/receipt @ rev 16581

ARM: add jack-audio-connection-kit, portaudio and espeak
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 04:42:11 2014 +0200 (2014-05-04)
parents b58da74b99ca
children 16df76e1fc6a
line diff
     1.1 --- a/python/receipt	Tue Apr 08 00:37:42 2014 +0200
     1.2 +++ b/python/receipt	Sun May 04 04:42:11 2014 +0200
     1.3 @@ -12,16 +12,10 @@
     1.4  WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +RELATED="python-dev python-idle" # version must match
     1.8  DEPENDS="openssl bzlib readline sqlite zlib ncursesw gdbm libffi"
     1.9  BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev sqlite-dev zlib-dev \
    1.10 -ncursesw-dev tcl-dev tk-dev db-dev gdbm-dev wget"
    1.11 -SUGGESTED="tcl tk"
    1.12 -
    1.13 -# Handle cross compilation
    1.14 -case "$ARCH" in
    1.15 -	arm*) BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev ncursesw-dev \
    1.16 -tcl-dev db-dev wget libffi-dev gdbm-dev" ;;
    1.17 -esac
    1.18 +ncursesw-dev tcl-dev tk-dev db-dev gdbm-dev wget libffi-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -95,5 +89,8 @@
    1.23  	cp -a $install/usr/include/${PACKAGE}$python_version/pyconfig.h \
    1.24  		$fs/usr/include/${PACKAGE}$python_version
    1.25  	rm -f $fs/usr/bin/*-config
    1.26 +	# Split IDLE with TK dep
    1.27 +	rm -f $fs/usr/bin/idle
    1.28 +	rm -rf $fs/usr/lib/python2.7/idlelib
    1.29  }
    1.30