2019-06-25 09:24:27 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-06-27 01:56:52 -06:00
|
|
|
rm -rf Modules/zlib
|
|
|
|
rm -rf Modules/expat
|
|
|
|
rm -rf Modules/_ctypes/darwin*
|
|
|
|
rm -rf Modules/_ctypes/libffi*
|
2019-06-27 01:53:10 -06:00
|
|
|
|
2019-06-25 09:24:27 -06:00
|
|
|
./configure \
|
2019-06-27 02:28:28 -06:00
|
|
|
--prefix=/usr \
|
|
|
|
--with-system-expat \
|
|
|
|
--with-system-ffi
|
2019-06-25 09:24:27 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
2019-06-25 11:08:58 -06:00
|
|
|
|
|
|
|
ln -s python3 "$1/usr/bin/python"
|