eth0s/toolchain/27-python
2020-06-12 16:42:33 +08:00

12 lines
266 B
Text
Executable file

name=python
version=3.8.1
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
build() {
cd Python-$version
sed -i '/def add_multiarch_paths/a \ return' setup.py
./configure --prefix=/tools --without-ensurepip
make
make install
}