summaryrefslogtreecommitdiff
path: root/package/cmake/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-10 17:27:51 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-10 17:27:51 +0100
commit22684e6dee0f4ec612b6913b1cbdd0abee60c66b (patch)
tree841539672127649e44266abe220c027a0140ab7d /package/cmake/Makefile
parent2d149152e711fd05dd82aba99b879d9cefb0c6c0 (diff)
parent2e7d502c6344dcc949d64a7c9d689ff90e3bbb10 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/cmake/Makefile')
-rw-r--r--package/cmake/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
index 379a762c9..322f8878f 100644
--- a/package/cmake/Makefile
+++ b/package/cmake/Makefile
@@ -4,32 +4,38 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= cmake
-PKG_VERSION:= 2.8.4
+PKG_VERSION:= 2.8.12
PKG_RELEASE:= 1
-PKG_MD5SUM:= 209b7d1d04b2e00986538d74ba764fcf
+PKG_MD5SUM:= 105bc6d21cc2e9b6aff901e43c53afea
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/host.mk
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
+#$(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= manual
CONFIG_STYLE:= manual
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
-pre-configure:
- (cd $(WRKBUILD); ./configure -prefix=/usr)
+host-configure:
+ (cd $(WRKBUILD); ./configure --prefix=/usr)
+
+cmake-hostinstall:
+ $(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
+ $(STAGING_HOST_DIR)/usr/bin
do-configure:
-
+ (cd $(WRKBUILD); ./configure --prefix=/usr)
cmake-install:
$(INSTALL_DIR) $(IDIR_CMAKE)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/cmake \
$(IDIR_CMAKE)/usr/bin
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk