# HG changeset patch # User Christophe Lincoln # Date 1307228337 -7200 # Node ID ba7621a1b976501ab93fdfd767aca973345572ea # Parent 8bf8a4cc34c519007ebebd9c861111cee36a79bf python: add BUILD_DEPENDS diff -r 8bf8a4cc34c5 -r ba7621a1b976 python/receipt --- a/python/receipt Sat Jun 04 18:02:17 2011 +0200 +++ b/python/receipt Sun Jun 05 00:58:57 2011 +0200 @@ -6,11 +6,13 @@ SHORT_DESC="The Python programming language." MAINTAINER="pankso@slitaz.org" SOURCE="Python" -DEPENDS="openssl bzlib readline sqlite zlib ncursesw" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.python.org/" WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL" +DEPENDS="openssl bzlib readline sqlite zlib ncursesw" +BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev ncursesw-dev" + # Rules to configure and make the package. compile_rules() { @@ -18,7 +20,8 @@ # Fix urllib Security Vulnerability # http://blog.python.org/2011/04/urllib-security-vulnerability-fixed.html patch -Np1 -i $stuff/CVE-2011-1521.patch - ./configure --enable-shared \ + ./configure \ + --enable-shared \ --build=$HOST_SYSTEM \ --host=$HOST_SYSTEM && make && make DESTDIR=$DESTDIR install