annotate src/build-scons.mk @ 3673:972f2d9c76ca

tar-dist: update dist rules for native-mingw tar-dist to work (Bug #42874) * binary-dist-rules.mk: only include windows dist deps of native-*, npp and msys-base if not native mingw build. change copy-windows-dist-files for same.
author John Donoghue
date Thu, 31 Jul 2014 11:23:18 -0400
parents 566fd51378f2
children 57e25cd3e76b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3450
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-scons
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3596
7ec984651a4f Update build-flex, build-scons versions
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 2.3.1
7ec984651a4f Update build-flex, build-scons versions
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := 775e715e49fe5fd8e1d29551a296fdc9267509e7
3450
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := scons-$($(PKG)_VERSION)
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := scons-$($(PKG)_VERSION).tar.gz
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://prdownloads.sourceforge.net/scons/$($(PKG)_FILE)
3610
566fd51378f2 Use system python in native mingw
John Donoghue
parents: 3596
diff changeset
11 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
566fd51378f2 Use system python in native mingw
John Donoghue
parents: 3596
diff changeset
12 $(PKG)_DEPS :=
566fd51378f2 Use system python in native mingw
John Donoghue
parents: 3596
diff changeset
13 else
566fd51378f2 Use system python in native mingw
John Donoghue
parents: 3596
diff changeset
14 $(PKG)_DEPS := build-python
566fd51378f2 Use system python in native mingw
John Donoghue
parents: 3596
diff changeset
15 endif
3450
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_UPDATE
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 echo $($(PKG)_VERSION)
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 cd '$(1)' && python setup.py install
0ecfd051de81 add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 endef