mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 14:06:27 +02:00
pkg: massive overhaul
This commit is contained in:
parent
764641b5a6
commit
21c6057130
9 changed files with 168 additions and 112 deletions
22
packages/python.mk
Normal file
22
packages/python.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
NAME=python
|
||||
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
||||
DEPENDENCIES=
|
||||
COMPILED=false
|
||||
VERSIONS=2.7.1 3.5.1 3.9.1
|
||||
|
||||
include common.mk
|
||||
|
||||
|
||||
${RUN_FILE}:
|
||||
echo 'python${VERSION_MINOR} $$*' > $@
|
||||
|
||||
${ENV_FILE}:
|
||||
echo 'export PATH=$$PWD/bin:$$PATH' > $@
|
||||
|
||||
${BIN_DIR}: ${BUILD_DIR}Python-${VERSION}/
|
||||
cd $< && ./configure --prefix /
|
||||
$(MAKE) -j64 -C $<
|
||||
DESTDIR=../${PKG_SLUG} $(MAKE) -j64 -C $< altinstall || true
|
||||
|
||||
${BUILD_DIR}Python-${VERSION}.tgz:
|
||||
curl "https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz" -o $@
|
Loading…
Add table
Add a link
Reference in a new issue