Mercurial > mxe-octave
annotate src/build-python.mk @ 4695:b76c24971143
* src/build-python.mk: update to v2.7.15
author | John Donoghue |
---|---|
date | Tue, 15 May 2018 08:07:29 -0400 |
parents | 769b40b4b09e |
children |
rev | line source |
---|---|
3448
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := build-python |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4695 | 6 $(PKG)_VERSION := 2.7.15 |
7 $(PKG)_CHECKSUM := f99348a095ec4a6411c84c0d15343d11920c9724 | |
3448
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := Python-$($(PKG)_VERSION) |
4479
769b40b4b09e
update build-python package to use python 2.7.9
John W. Eaton <jwe@octave.org>
parents:
3600
diff
changeset
|
9 $(PKG)_FILE := Python-$($(PKG)_VERSION).tar.xz |
3600 | 10 $(PKG)_URL := http://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3515
a551b373abc4
build-python: no depeancy on build-gcc if using system gcc.
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
11 $(PKG)_DEPS := |
a551b373abc4
build-python: no depeancy on build-gcc if using system gcc.
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
12 ifneq ($(USE_SYSTEM_GCC),yes) |
a551b373abc4
build-python: no depeancy on build-gcc if using system gcc.
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
13 $(PKG)_DEPS += build-gcc |
a551b373abc4
build-python: no depeancy on build-gcc if using system gcc.
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
14 endif |
3448
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 echo $($(PKG)_VERSION) |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 endef |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 mkdir '$(1).build' |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 cd '$(1).build' && '$(1)/configure' \ |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 --prefix='$(BUILD_TOOLS_PREFIX)' |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1).build' -j 1 install |
f0a1b0872dbb
build-python: New build tool package.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 endef |