Mercurial > mxe-octave
annotate src/build-flex.mk @ 4548:e475dae96add
build-flex: update to v2.6.4
* src/build-flex.mk: update version, checksum and URL, depend on lzip
author | John D |
---|---|
date | Mon, 27 Nov 2017 08:52:01 -0500 |
parents | 0e56fe2d2ef5 |
children | b23584d79172 |
rev | line source |
---|---|
2990 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-flex | |
5 $(PKG)_IGNORE := | |
4548 | 6 $(PKG)_VERSION := 2.6.4 |
7 $(PKG)_CHECKSUM := ec5653f673ec8f6e3f07d5e730008cee54d2ce02 | |
2990 | 8 $(PKG)_SUBDIR := flex-$($(PKG)_VERSION) |
4548 | 9 $(PKG)_FILE := flex-$($(PKG)_VERSION).tar.lz |
10 $(PKG)_URL := https://github.com/westes/flex/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := build-lzip | |
2990 | 12 |
13 define $(PKG)_UPDATE | |
4545
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3596
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/westes/flex/tags' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3596
diff
changeset
|
15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3596
diff
changeset
|
16 tail -1 |
2990 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 mkdir '$(1).build' | |
3032
080a2acf178f
remove some debugging code accidentally left in build-flex.mk
John W. Eaton <jwe@octave.org>
parents:
3029
diff
changeset
|
21 cd '$(1).build' && '$(1)/configure' \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2990
diff
changeset
|
22 --prefix='$(BUILD_TOOLS_PREFIX)' |
2990 | 23 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
24 $(MAKE) -C '$(1).build' -j 1 install | |
25 endef |