view src/build-cmake.mk @ 3789:08eb76a22fa0

Update README.html for NSIS installer (bug #44215). * installer-files/README.html: Add a little more text to README. Wrap long lines to less than 80 chars.
author Rik <rik@octave.org>
date Sat, 14 Feb 2015 21:22:13 -0800
parents e856d514bfb0
children 1913726d5f79
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.0.2
$(PKG)_CHECKSUM := 379472e3578902a1d6f8b68a9987773151d6f21a
$(PKG)_SUBDIR   := cmake-$($(PKG)_VERSION)
$(PKG)_FILE     := cmake-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://www.cmake.org/files/v3.0/$($(PKG)_FILE)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
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