view src/build-cmake.mk @ 3531:d765eab1691e

bump version to 0.20 This version builds the stable-octave package completely from source with mingw-w64 for both 32- and 64-bit systems. Currently, 64-bit systems always use 64-bit indexing for Octave and dependencies.
author John W. Eaton <jwe@octave.org>
date Mon, 17 Feb 2014 01:20:23 -0500
parents 13be64f9f16d
children 35f55146443b
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-cmake
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.8.9
$(PKG)_CHECKSUM := b96663c0757a5edfbddc410aabf7126a92131e2b
$(PKG)_SUBDIR   := cmake-$($(PKG)_VERSION)
$(PKG)_FILE     := cmake-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://www.cmake.org/files/v2.8/$($(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