mirror of
https://github.com/engineer-man/piston.git
synced 2025-07-12 00:38:45 +02:00
pkg(python): refactor
This commit is contained in:
parent
170dbc419e
commit
13d5191d77
3 changed files with 26 additions and 26 deletions
|
@ -1,7 +1,5 @@
|
|||
NAME=python
|
||||
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
||||
DEPS=
|
||||
#VERSION=
|
||||
COMPILED=false
|
||||
|
||||
include ../../common.mk
|
||||
|
@ -9,13 +7,13 @@ include ../../common.mk
|
|||
run:
|
||||
echo 'python$(shell grep -oP "\d+.\d+"<<<${VERSION}) $$*' > run
|
||||
|
||||
python-${VERSION}/environment:
|
||||
${NAME}-${VERSION}/environment:
|
||||
echo 'export PATH=$$PWD/${NAME}-${VERSION}/bin:$$PATH' > $@
|
||||
|
||||
python-${VERSION}/: Python-${VERSION}/
|
||||
${NAME}-${VERSION}/: Python-${VERSION}/
|
||||
cd $< && ./configure --prefix /
|
||||
$(MAKE) -j$(or ${MAKE_JOBS},64) -C $<
|
||||
DESTDIR=../$@ $(MAKE) -j$(or ${MAKE_JOBS},64) -C $< altinstall || true
|
||||
|
||||
Python-${VERSION}.tgz:
|
||||
${NAME}-${VERSION}.tgz:
|
||||
curl "https://www.python.org/ftp/python/${VERSION}/$@" -o $@
|
Loading…
Add table
Add a link
Reference in a new issue