Mercurial > mxe-octave
view src/build-cmake.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 43d8099f411c |
children | ff6218f754ff |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-cmake $(PKG)_IGNORE := $(PKG)_VERSION := 3.21.2 $(PKG)_CHECKSUM := 0c46621bb21f1eea01b9b6c9fefc39f9ff4a3216 $(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) ifeq ($(USE_SYSTEM_GCC),yes) $(PKG)_DEPS := else $(PKG)_DEPS := build-gcc 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' && '$(1)/configure' \ --prefix='$(BUILD_TOOLS_PREFIX)' $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' endef