summaryrefslogtreecommitdiffstats
path: root/extra/python/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-05 20:37:31 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-05 20:37:31 +0100
commit816c523ef460a710f709a1d8e6d5d68545ff651d (patch)
treea4ddb01bedd93b7686aaa35758eeea5ab85dba59 /extra/python/Pkgfile
parenta74f72a367f6f02784a20e79b780e096da7e5b06 (diff)
downloadnutyx-pakxe-816c523ef460a710f709a1d8e6d5d68545ff651d.tar.gz
nutyx-pakxe-816c523ef460a710f709a1d8e6d5d68545ff651d.tar.bz2
nutyx-pakxe-816c523ef460a710f709a1d8e6d5d68545ff651d.tar.xz
nutyx-pakxe-816c523ef460a710f709a1d8e6d5d68545ff651d.zip
python pas de dépendances
Diffstat (limited to 'extra/python/Pkgfile')
-rwxr-xr-xextra/python/Pkgfile42
1 files changed, 0 insertions, 42 deletions
diff --git a/extra/python/Pkgfile b/extra/python/Pkgfile
deleted file mode 100755
index 327eb90fd..000000000
--- a/extra/python/Pkgfile
+++ /dev/null
@@ -1,42 +0,0 @@
-# Description: Environnement de développement python
-# URL: http://www.python.org
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on: expat, bzip2, gdbm, openssl, libffi, zlib, sqlite3
-# Run on:
-
-name=python
-version=3.2
-release=1
-source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2)
-
-build() {
- cd Python-$version
- rm -r Modules/expat
- rm -r Modules/zlib
- rm -r Modules/_ctypes/{darwin,libffi}*
-
- export OPT="${CFLAGS}"
- export CPPFLAGS+="`pkg-config --cflags-only-I libffi`"
-
- ./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
- 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
- install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
-}
-