summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-04 12:56:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-04 12:56:14 +0200
commitb1d08813d515cdd86192da974fcb29396624c780 (patch)
tree68307be7fe9400dc25ce5c82e531626c2250ec9f
parent0f90e70e9f8a12cb05ae050e806b333b9b1ab59c (diff)
add new package cmake
-rw-r--r--package/cmake/Makefile32
-rw-r--r--package/cmake/patches/patch-Tests_SubDirSpaces_Executable0
-rw-r--r--package/cmake/patches/patch-bootstrap11
3 files changed, 43 insertions, 0 deletions
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
new file mode 100644
index 000000000..59869bc02
--- /dev/null
+++ b/package/cmake/Makefile
@@ -0,0 +1,32 @@
+# 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/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+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
diff --git a/package/cmake/patches/patch-Tests_SubDirSpaces_Executable b/package/cmake/patches/patch-Tests_SubDirSpaces_Executable
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/package/cmake/patches/patch-Tests_SubDirSpaces_Executable
diff --git a/package/cmake/patches/patch-bootstrap b/package/cmake/patches/patch-bootstrap
new file mode 100644
index 000000000..756b6a2b7
--- /dev/null
+++ b/package/cmake/patches/patch-bootstrap
@@ -0,0 +1,11 @@
+--- cmake-2.8.4.orig/bootstrap 2011-02-15 18:47:26.000000000 +0100
++++ cmake-2.8.4/bootstrap 2011-05-04 12:52:48.781551109 +0200
+@@ -144,7 +144,7 @@ if ${cmake_system_mingw}; then
+ elif ${cmake_system_haiku}; then
+ cmake_default_prefix=`/bin/finddir B_COMMON_DIRECTORY`
+ else
+- cmake_default_prefix="/usr/local"
++ cmake_default_prefix="/usr"
+ fi
+
+ CMAKE_KNOWN_C_COMPILERS="cc gcc xlc icc tcc"