Mercurial > mxe-octave
view src/build-cmake.mk @ 5914:05a486e7e873 release
README.html: Prepare file ahead of 6.4 release.
* installer-files/README.html: Prepare file ahead of 6.4 release.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 03 Oct 2021 13:55:42 +0200 |
parents | 9d93b41c28f0 |
children | 293c86f0481e |
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.18.4 $(PKG)_CHECKSUM := 73ab5348c881f1a53c250b66848b6ee101c9fe1f $(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