summaryrefslogtreecommitdiff
path: root/package/cmake/Makefile
blob: 379a762c9bcf41db040ce24bab52d8679c84de10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		cmake
PKG_VERSION:=		2.8.4
PKG_RELEASE:=		1
PKG_MD5SUM:=		209b7d1d04b2e00986538d74ba764fcf
PKG_DESCR:=		cmake utility
PKG_SECTION:=		lang
PKG_URL:=		http://www.cmake.org/
PKG_SITES:=		http://www.cmake.org/files/v2.8/

PKG_SYSTEM_DEPENDS:=	native

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
XAKE_FLAGS+=		GCC_HONOUR_COPTS=s

pre-configure:
	(cd $(WRKBUILD); ./configure -prefix=/usr)

do-configure:
	

cmake-install:
	$(INSTALL_DIR) $(IDIR_CMAKE)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/cmake \
		$(IDIR_CMAKE)/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk