mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-20 13:16:19 +00:00
20 lines
351 B
Bash
Executable File
20 lines
351 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < python3-always-pip.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--with-system-expat \
|
|
--with-system-ffi \
|
|
--with-ensurepip=yes
|
|
|
|
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"*
|