summaryrefslogtreecommitdiffstats
path: root/extra/python/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:54:51 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:54:51 +0100
commit9014a095b5d214bdb423a536e799bf216464ffdb (patch)
tree98432a731fc66e28e12d4c24185a2c4f53d5aefe /extra/python/Pkgfile
parent6ca0772625fda8e42ee06760fe15f10220f92516 (diff)
downloadnutyx-extra-9014a095b5d214bdb423a536e799bf216464ffdb.tar.gz
nutyx-extra-9014a095b5d214bdb423a536e799bf216464ffdb.tar.bz2
nutyx-extra-9014a095b5d214bdb423a536e799bf216464ffdb.tar.xz
nutyx-extra-9014a095b5d214bdb423a536e799bf216464ffdb.zip
python, déplacé dans extra
Diffstat (limited to 'extra/python/Pkgfile')
-rwxr-xr-xextra/python/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/python/Pkgfile b/extra/python/Pkgfile
new file mode 100755
index 000000000..01d5c70d3
--- /dev/null
+++ b/extra/python/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Environnement de développement python
+# URL: http://www.python.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pth, sqlite3
+
+name=python
+version=2.6.2
+release=1
+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
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared
+make
+make DESTDIR=$PKG install
+}