blob: 059937971470acf3520ac62cbd495713c7515bbf (
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=${PKG_TARG}-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=${PKG_TARG}-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
|