summaryrefslogtreecommitdiff
path: root/data/python/make.sh
blob: 2dc8c68c6b578539a526d1c06f6a6796bb29d1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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