Mercurial > mxe-octave
view src/cmake.mk @ 5499:be0a7ce498e6
Update mesa to version 20.0.8 (bug #58689).
* src/mesa.mk: Update version and checksum. Add build-meson to dependecies.
Update build rule to use meson and ninja as the build tools.
* src/mesa-1-meson.patch: Add new patch.
* src/mesa-1-fixes.patch: Remove old patch for the scons rule that is no longer
needed.
* dist-files.mk: Update file list.
* src/build-mako.mk: Depend on and use python3.
* src/build-markupsafe.mk: Depend on and use python3.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 20:58:57 +0200 |
parents | 6e43b8c90143 |
children | 01429b3aa7f0 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := cmake $(PKG)_IGNORE := $(PKG)_VERSION := 3.17.3 $(PKG)_CHECKSUM := faef76cfc9f07cae7eecee72eba0d28abbbac5b4 $(PKG)_SUBDIR := cmake-$($(PKG)_VERSION) $(PKG)_FILE := cmake-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.cmake.org/files/v$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := $(PKG)_CMAKE_OPTS := ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) ifeq ($(MXE_SYSTEM),mingw) $(PKG)_CMAKE_OPTS := -G "MSYS Makefiles" endif else ifeq ($(MXE_SYSTEM),mingw) $(PKG)_CMAKE_OPTS += -DKWSYS_LFS_WORKS=TRUE endif endif define $(PKG)_UPDATE $(WGET) -q -O- 'https://www.cmake.org/cmake/resources/software.html' | \ $(SED) -n 's,.*cmake-\([0-9.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && cmake \ $($(PKG)_CMAKE_OPTS) \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ ../$($(PKG)_SUBDIR) $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' endef