summaryrefslogtreecommitdiff
path: root/data/python/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/python/make.sh')
-rw-r--r--data/python/make.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/data/python/make.sh b/data/python/make.sh
new file mode 100644
index 000000000..2dc8c68c6
--- /dev/null
+++ b/data/python/make.sh
@@ -0,0 +1,23 @@
+pkg:extract
+cd *
+./configure --prefix=/usr
+make
+cp -a Parser/pgen{,_}
+cp -a python{,_}
+sleep 10
+pkg:patch
+autoconf
+SO=.dylib CXX=arm-apple-darwin-g++ pkg:configure --enable-shared --with-system-ffi --with-signal-module --disable-toolbox-glue
+make clean
+rm libpython2.5.a
+#make Include/graminit.h Python/graminit.c CC=gcc BASECFLAGS=
+#cp -a Parser/pgen pgen-host
+#make clean
+make python AR=arm-apple-darwin-ar
+sleep 2
+touch python_
+make BUILDPYTHON=python_
+pkg:install BUILDPYTHON=python_
+pkg: rm -f /usr/bin/python{,2.5}
+pkg: cp -fa python /usr/bin/python2.5
+pkg: ln -s python2.5 /usr/bin/python