4e4d71b31f19260ecfeb1996474cc649a8496d64
[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.10.2
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://www.cmake.org/files/v2.8/
14 PKG_MD5SUM:=097278785da7182ec0aea8769d06860c
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))