Mercurial > mxe-octave
view src/double-conversion.mk @ 6538:8e1e1a000deb
of-netcdf: Fix compatibility with Octave 9.
* src/of-netcdf-1-octave-9-compat.patch: Add patch that replaces class that
has been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 19 Nov 2022 12:54:37 +0100 |
parents | 4b8764444acb |
children | 206ee5152b92 |
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.2.1 $(PKG)_CHECKSUM := 1739208c8ca88a6073e738a96ebde73ec9bdebe7 $(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 $(call GITHUB_PKG_UPDATE,google,double-conversion,v) endef define $(PKG)_BUILD cd '$(1)' && cmake \ $($(PKG)_CMAKE_FLAGS) \ -DBUILD_TESTING=no \ $(CMAKE_CCACHE_FLAGS) \ $(CMAKE_BUILD_SHARED_OR_STATIC) \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ . $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install endef