Mercurial > mxe-octave
view src/double-conversion.mk @ 5028:5ccb85769fb4
* src/double-conversion.mk: update to v3.1.4
author | John Donoghue |
---|---|
date | Tue, 19 Mar 2019 10:34:34 -0400 |
parents | 8ebd014bedc5 |
children | d69272f82516 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := double-conversion $(PKG)_IGNORE := $(PKG)_VERSION := 3.1.4 $(PKG)_CHECKSUM := 26a0ddaf0abb7e53c67f2abfac95b1e009c2a002 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := https://github.com/google/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := $(PKG)_CMAKE_FLAGS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/google/double-conversion/tags' | \ $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD cd '$(1)' && cmake \ $($(PKG)_CMAKE_FLAGS) \ -DBUILD_TESTING=no \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ . $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install endef