Mercurial > mxe-octave
annotate src/double-conversion.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | d69272f82516 |
children | d862fd40cc42 |
rev | line source |
---|---|
4526 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := double-conversion | |
5 $(PKG)_IGNORE := | |
5082
d69272f82516
* src/double-conversion.mk: update to v3.1.5
John Donoghue
parents:
5028
diff
changeset
|
6 $(PKG)_VERSION := 3.1.5 |
d69272f82516
* src/double-conversion.mk: update to v3.1.5
John Donoghue
parents:
5028
diff
changeset
|
7 $(PKG)_CHECKSUM := ea899f825b61f374b310654927b41244d80b538e |
4526 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
10 $(PKG)_URL := https://github.com/google/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_DEPS := | |
12 | |
13 $(PKG)_CMAKE_FLAGS := | |
14 | |
15 define $(PKG)_UPDATE | |
4538 | 16 $(WGET) -q -O- 'https://github.com/google/double-conversion/tags' | \ |
17 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
18 tail -1 | |
4526 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && cmake \ | |
23 $($(PKG)_CMAKE_FLAGS) \ | |
24 -DBUILD_TESTING=no \ | |
25 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ | |
26 . | |
27 | |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 | |
29 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install | |
30 endef |