2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-15 12:22:26 +00:00
repo/extra/python/build
2019-08-30 00:31:47 +00:00

15 lines
247 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--with-ensurepip=install
make
make DESTDIR="$1" install
ln -s python3 "$1/usr/bin/python"
ln -s pip3 "$1/usr/bin/pip"
# Make static library writable.
chmod -v u+w "$1/usr/lib/libpython"*.a