diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-09 22:21:43 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-09 22:21:43 +0000 |
commit | 35ef70353227e4dff60fc36437f08293be752b25 (patch) | |
tree | 806d29fe3d68433a1c971336dff58863918b2709 /data/python/make.sh | |
parent | 03880b546d794abafd6dab3eed876dbefe06c174 (diff) |
Factored out --enable-{static=no,shared=yes}, did some extreme porting on pkg-config and libtool, added support for numerous X libraries and a few X applications, and got a solid build of Python with a bunch of modules (compiled as a shared library with the right extensions ;P).
git-svn-id: http://svn.telesphoreo.org/trunk@12 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/python/make.sh')
-rw-r--r-- | data/python/make.sh | 23 |
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 |