diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/cmake/Makefile | 32 | ||||
-rw-r--r-- | package/cmake/patches/patch-Tests_SubDirSpaces_Executable | 0 | ||||
-rw-r--r-- | package/cmake/patches/patch-bootstrap | 11 |
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" |