2021-02-19 06:53:26 +01:00
|
|
|
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
|
|
|
DEPS=
|
|
|
|
COMPILED=false
|
|
|
|
|
|
|
|
include ../../common.mk
|
|
|
|
|
|
|
|
run:
|
|
|
|
echo 'python$(shell grep -oP "\d+.\d+"<<<${VERSION}) $$*' > run
|
|
|
|
|
2021-02-20 06:34:44 +01:00
|
|
|
${NAME}-${VERSION}/environment:
|
2021-02-19 06:53:26 +01:00
|
|
|
echo 'export PATH=$$PWD/${NAME}-${VERSION}/bin:$$PATH' > $@
|
|
|
|
|
2021-02-20 06:34:44 +01:00
|
|
|
${NAME}-${VERSION}/: Python-${VERSION}/
|
2021-02-19 06:53:26 +01:00
|
|
|
cd $< && ./configure --prefix /
|
|
|
|
$(MAKE) -j$(or ${MAKE_JOBS},64) -C $<
|
|
|
|
DESTDIR=../$@ $(MAKE) -j$(or ${MAKE_JOBS},64) -C $< altinstall || true
|
|
|
|
|
2021-02-20 15:29:32 +01:00
|
|
|
Python-${VERSION}.tgz:
|
2021-02-19 06:53:26 +01:00
|
|
|
curl "https://www.python.org/ftp/python/${VERSION}/$@" -o $@
|