summaryrefslogtreecommitdiffstats
path: root/base/python/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:36:47 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:36:47 +0200
commita6f1ea8a73412cefe2e1f933d47a2986b1490645 (patch)
tree2eee28594bc635001b77a768857576f88726ec81 /base/python/Pkgfile
parentf17557e22238b0de5aea8af7ce558f718568d038 (diff)
downloadnutyx-extra-a6f1ea8a73412cefe2e1f933d47a2986b1490645.tar.gz
nutyx-extra-a6f1ea8a73412cefe2e1f933d47a2986b1490645.tar.bz2
nutyx-extra-a6f1ea8a73412cefe2e1f933d47a2986b1490645.tar.xz
nutyx-extra-a6f1ea8a73412cefe2e1f933d47a2986b1490645.zip
Ajout de python#2.6.2-1
Diffstat (limited to 'base/python/Pkgfile')
-rwxr-xr-xbase/python/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/base/python/Pkgfile b/base/python/Pkgfile
new file mode 100755
index 000000000..b87e2480a
--- /dev/null
+++ b/base/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, openssl, gdbm, 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
+}