Mercurial > mxe-octave
annotate src/build-scons.mk @ 4545:0e56fe2d2ef5
Makefile.in: add update-build-tools target
* Makefile.in: add update-build-tools target
* src/build-autoconf.mk, src/build-automake.mk,
src/build-bison.mk, src/build-gawk.mk,
src/build-gcc.mk, src/build-gettext.mk,
src/build-gperf.mk, src/build-m4.mk,
src/build-texinfo.mk, src/build-libtool.mk
: update PKG_UPDATE for getting latest version from gnu.org
* src/build-cmake.mk, src/build-flex.mk,
src/build-lzip.mk, src/build-pkg-config.mk,
src/pkg-config.mk, src/build-scons.mk
: add implemented PKG_UPDATE macro
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 23 Nov 2017 12:05:29 -0500 |
parents | 3b5c1bab1012 |
children | 7af764a07a91 |
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 := |
4011 | 6 $(PKG)_VERSION := 2.3.6 |
7 $(PKG)_CHECKSUM := 97af955770cd79518717b96681d0fc4cb3d965a1 | |
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 | 11 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
12 $(PKG)_DEPS := | |
13 else | |
14 $(PKG)_DEPS := build-python | |
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 |
4545
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4011
diff
changeset
|
18 $(WGET) -q -O- https://sourceforge.net/projects/scons/files/scons/ | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4011
diff
changeset
|
19 $(SED) -n 's|.*<tr title=\"\([0-9][^"]*\)".*|\1|p' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4011
diff
changeset
|
20 head -1 |
3450
0ecfd051de81
add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 endef |
0ecfd051de81
add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
0ecfd051de81
add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
3970 | 24 cd '$(1)' && python setup.py install --prefix='$(BUILD_TOOLS_PREFIX)' |
3450
0ecfd051de81
add build-scon.mk file omitted from previous commit
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 endef |