comparison src/double-conversion.mk @ 4526:c283aa086767

double-conversion: new package * src/double-conversion.mk: new file * index.html: add double-conversion * src/qtbase.mk: enable system double-conversion and add as dependancy
author John D
date Wed, 08 Nov 2017 08:20:54 -0500
parents
children 979f5b397e51
comparison
equal deleted inserted replaced
4525:0deb76a57fae 4526:c283aa086767
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := double-conversion
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.0.0
7 $(PKG)_CHECKSUM := d900d4d946beb493a03cd6c9b180ed2bcbd0f20e
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
16 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
17 echo $($(PKG)_VERSION)
18 endef
19
20 define $(PKG)_BUILD
21 cd '$(1)' && cmake \
22 $($(PKG)_CMAKE_FLAGS) \
23 -DBUILD_TESTING=no \
24 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
25 .
26
27 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1
28 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install
29 endef