2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00
repo/extra/python2/build
2020-02-26 00:33:37 +02:00

15 lines
218 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--without-ensurepip
make
make DESTDIR="$1" install
rm "$1/usr/bin/2to3"
rm "$1/usr/bin/python"
# Make static library writable.
chmod u+w "$1/usr/lib/libpython"*.a