repo/extra/python2/build
2019-08-29 20:57:16 +00:00

15 lines
221 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 -v u+w "$1/usr/lib/libpython"*.a