2021-02-19 04:09:56 +01:00
|
|
|
NAME=python
|
|
|
|
VERSION=3.9.1
|
|
|
|
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
|
|
|
DEPS=
|
2021-02-19 04:48:46 +01:00
|
|
|
BINARY_FILES=out/ run
|
|
|
|
|
|
|
|
MAKE_JOBS=64
|
2021-02-19 04:09:56 +01:00
|
|
|
|
|
|
|
include ../../Makefile
|
|
|
|
|
2021-02-19 04:48:46 +01:00
|
|
|
run:
|
|
|
|
echo "bin/python3.9 $*" > run
|
|
|
|
|
|
|
|
out/: Python-${VERSION}/
|
|
|
|
cd $< && ./configure --prefix /
|
|
|
|
make -j${MAKE_JOBS} -C $<
|
|
|
|
DESTDIR=../out make -j${MAKE_JOBS} -C $< altinstall
|
2021-02-19 04:09:56 +01:00
|
|
|
|
|
|
|
Python-${VERSION}.tgz:
|
2021-02-19 04:48:46 +01:00
|
|
|
curl "https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz" -o $@
|
2021-02-19 04:09:56 +01:00
|
|
|
|
2021-02-19 04:48:46 +01:00
|
|
|
%/: %.tgz
|
|
|
|
tar xzvf $<
|
2021-02-19 04:09:56 +01:00
|
|
|
|
|
|
|
|