Mercurial > mxe-octave
comparison src/build-python.mk @ 3448:f0a1b0872dbb
build-python: New build tool package.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 23 Jan 2014 15:09:13 -0500 |
parents | |
children | 13be64f9f16d |
comparison
equal
deleted
inserted
replaced
3447:690a00576e5e | 3448:f0a1b0872dbb |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := build-python | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 8328d9f1d55574a287df384f4931a3942f03da64 | |
7 $(PKG)_SUBDIR := Python-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := Python-$($(PKG)_VERSION).tgz | |
9 $(PKG)_URL := http://www.python.org/ftp/python/2.7.6/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := build-gcc | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
14 echo $($(PKG)_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1).build' | |
19 cd '$(1).build' && '$(1)/configure' \ | |
20 --prefix='$(BUILD_TOOLS_PREFIX)' | |
21 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
22 $(MAKE) -C '$(1).build' -j 1 install | |
23 endef |