view src/build-cmake.mk @ 4438:2db2282dfe9a

build-auutomake: allow build using >= perl 5.22 (Bug #51594) * src/build-automake-1-perl-5.patch: new file * dist-files.mk: add ref to build-automake-1-perl-5.patch
author John D <john.donoghue@ieee.org>
date Fri, 28 Jul 2017 13:01:18 -0400
parents 1a92716b1682
children 0e56fe2d2ef5
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.8.2
$(PKG)_CHECKSUM := c38aad7406d6cbd99a6c71922c6c3406f745c583
$(PKG)_SUBDIR   := cmake-$($(PKG)_VERSION)
$(PKG)_FILE     := cmake-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://www.cmake.org/files/v3.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