parent
bf660c2508
commit
8ff8097dbd
@ -0,0 +1,24 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := cmake
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.8.11.2
|
||||
$(PKG)_CHECKSUM := 31f217c9305add433e77eff49a6eac0047b9e929
|
||||
$(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)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
echo 'Warning: Updates are disabled for package cmake.' >&2;
|
||||
echo $($(PKG)_VERSION)
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_NATIVE
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/native'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
Loading…
Reference in new issue