diff options
author | sibel <lesibel@free.fr> | 2010-12-26 18:35:20 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-26 18:35:20 +0100 |
commit | 9566cfbbf95699def8ba9da057fc668425566d72 (patch) | |
tree | 2c1a411611370d0b047466772c1ff4b7796d0bcb /extra/python2/Pkgfile | |
parent | 73bdd624a6e4addc51078f2a4d49661a9bc9ce86 (diff) | |
download | nutyx-pakxe-9566cfbbf95699def8ba9da057fc668425566d72.tar.gz nutyx-pakxe-9566cfbbf95699def8ba9da057fc668425566d72.tar.bz2 nutyx-pakxe-9566cfbbf95699def8ba9da057fc668425566d72.tar.xz nutyx-pakxe-9566cfbbf95699def8ba9da057fc668425566d72.zip |
python#2.7.1-1, ajout port
Diffstat (limited to 'extra/python2/Pkgfile')
-rwxr-xr-x | extra/python2/Pkgfile | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/extra/python2/Pkgfile b/extra/python2/Pkgfile index d4df64b0f..33cf06017 100755 --- a/extra/python2/Pkgfile +++ b/extra/python2/Pkgfile @@ -1,4 +1,4 @@ -# Description: Environnement de développement python +# Description: Environnement de développement python # URL: http://www.python.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch @@ -11,26 +11,13 @@ source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2) build() { cd Python-$version - sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py - + sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" \ + setup.py ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-wide-unicode \ - --with-system-ffi + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-shared make make DESTDIR=$PKG install - - ln -sf python3 $PKG/usr/bin/python - ln -sf python3-config $PKG/usr/bin/python-config - ln -sf idle3 $PKG/usr/bin/idle - ln -sf pydoc3 $PKG/usr/bin/pydoc - - - rm $PKG/usr/bin/2to3 } - + |