forked from kiss-community/repo
15 lines
247 B
Bash
Executable File
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
|