mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-17 04:00:14 -07:00
18 lines
317 B
Bash
Executable File
18 lines
317 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--with-system-expat \
|
|
--with-system-ffi \
|
|
--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"*
|