2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 11:40:21 -07:00
repo/extra/python2/build

15 lines
221 B
Plaintext
Raw Normal View History

2019-07-23 02:57:39 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--without-ensurepip
make
make DESTDIR="$1" install
rm "$1/usr/bin/2to3"
rm "$1/usr/bin/python"
2019-08-29 14:57:16 -06:00
# Make static library writable.
chmod -v u+w "$1/usr/lib/libpython"*.a