wok-6.x rev 10807

python: add BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 00:58:57 2011 +0200 (2011-06-05)
parents 8bf8a4cc34c5
children 829cd878e43f
files python/receipt
line diff
     1.1 --- a/python/receipt	Sat Jun 04 18:02:17 2011 +0200
     1.2 +++ b/python/receipt	Sun Jun 05 00:58:57 2011 +0200
     1.3 @@ -6,11 +6,13 @@
     1.4  SHORT_DESC="The Python programming language."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  SOURCE="Python"
     1.7 -DEPENDS="openssl bzlib readline sqlite zlib ncursesw"
     1.8  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://www.python.org/"
    1.10  WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
    1.11  
    1.12 +DEPENDS="openssl bzlib readline sqlite zlib ncursesw"
    1.13 +BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev ncursesw-dev"
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -18,7 +20,8 @@
    1.19  	# Fix urllib Security Vulnerability
    1.20  	# http://blog.python.org/2011/04/urllib-security-vulnerability-fixed.html
    1.21  	patch -Np1 -i $stuff/CVE-2011-1521.patch
    1.22 -	./configure --enable-shared \
    1.23 +	./configure \
    1.24 +		--enable-shared \
    1.25  		--build=$HOST_SYSTEM \
    1.26  		--host=$HOST_SYSTEM &&
    1.27  	make &&	make DESTDIR=$DESTDIR install