cmake: upgrade to 2.8.12.1
[openwrt/openwrt.git] / tools / cmake / Makefile
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=cmake
10 PKG_VERSION:=2.8.12.1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
14 PKG_MD5SUM:=9d38cd4e2c94c3cea97d0e2924814acc
15
16 HOST_BUILD_PARALLEL:=1
17 HOST_CONFIGURE_PARALLEL:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 HOST_CONFIGURE_VARS :=
22
23 HOST_CONFIGURE_ARGS := \
24 --prefix=$(STAGING_DIR_HOST) \
25 $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
26
27 $(eval $(call HostBuild))