view src/build-cmake.mk @ 2985:e6ba75a96089

Fix to install lrelease from the linquist tools. * /src/qt.mk (PKG_BUILD): added cd into lrelease folder and run make install in it.
author John Donoghue <john.onoghue@ieee.org>
date Tue, 14 May 2013 14:29:39 -0400
parents 7145a94e4f4e
children 100e618349f7
line wrap: on
line source

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

PKG             := build-cmake
$(PKG)_IGNORE   :=
$(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='$(PREFIX)'
    $(MAKE) -C '$(1).build' -j '$(JOBS)'
    $(MAKE) -C '$(1).build' -j 1 install
endef