diff options
author | piernov <piernov@piernov.org> | 2011-07-17 13:11:09 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2011-07-17 13:11:09 +0200 |
commit | 9db42a56d07557f917b742897169119ca564fd15 (patch) | |
tree | 0c0efe1e53fc67d2d2c5601e4e4e20b979e3804d /base/python/Pkgfile | |
parent | 8fcd3d3c6a9a00f56093011e615b7ae2316ae092 (diff) | |
download | nutyx-pakxe-9db42a56d07557f917b742897169119ca564fd15.tar.gz nutyx-pakxe-9db42a56d07557f917b742897169119ca564fd15.tar.bz2 nutyx-pakxe-9db42a56d07557f917b742897169119ca564fd15.tar.xz nutyx-pakxe-9db42a56d07557f917b742897169119ca564fd15.zip |
python 3.2.1-1 màj port
Diffstat (limited to 'base/python/Pkgfile')
-rwxr-xr-x | base/python/Pkgfile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/base/python/Pkgfile b/base/python/Pkgfile index ece86814f..21cfbd50e 100755 --- a/base/python/Pkgfile +++ b/base/python/Pkgfile @@ -2,17 +2,21 @@ # URL: http://www.python.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: expat -# Run on: expat +# Depends on: sqlite3 +# Run on: expat,libffi,zlib name=python -version=3.2 -release=2 -source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2) +version=3.2.1 +release=1 +source=( http://www.python.org/ftp/python/$version/Python-$version.tar.xz) build() { cd Python-$version + + sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py + rm -r Modules/zlib + rm -r Modules/expat rm -r Modules/_ctypes/{darwin,libffi}* export OPT="${CFLAGS}" @@ -26,6 +30,7 @@ build() { --with-computed-gotos \ --enable-ipv6 \ --with-wide-unicode \ + --with-system-expat \ --with-system-ffi make make DESTDIR=$PKG install |