summaryrefslogtreecommitdiff
path: root/meta/packages/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/cmake')
-rw-r--r--meta/packages/cmake/.mtn2git_empty0
-rw-r--r--meta/packages/cmake/cmake-native_2.6.0.bb12
-rw-r--r--meta/packages/cmake/cmake.inc17
-rw-r--r--meta/packages/cmake/cmake_2.6.0.bb2
4 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/cmake/.mtn2git_empty b/meta/packages/cmake/.mtn2git_empty
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/meta/packages/cmake/.mtn2git_empty
diff --git a/meta/packages/cmake/cmake-native_2.6.0.bb b/meta/packages/cmake/cmake-native_2.6.0.bb
new file mode 100644
index 000000000..b7b45b67d
--- /dev/null
+++ b/meta/packages/cmake/cmake-native_2.6.0.bb
@@ -0,0 +1,12 @@
+CMAKE_MAJOR_VERSION="2.6"
+inherit native
+require cmake.inc
+
+do_stage() {
+ oe_runmake install
+ autotools_stage_all
+}
+
+do_install() {
+ :
+}
diff --git a/meta/packages/cmake/cmake.inc b/meta/packages/cmake/cmake.inc
new file mode 100644
index 000000000..7cd1e8a7e
--- /dev/null
+++ b/meta/packages/cmake/cmake.inc
@@ -0,0 +1,17 @@
+# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DESCRIPTION = "A cross-platform, open-source make system"
+HOMEPAGE = "http://www.cmake.org/"
+LICENSE = "Berkely-style license"
+SECTION = "console/utils"
+
+SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
+
+inherit autotools
+
+S = "${WORKDIR}/cmake-${PV}"
+
+do_configure () {
+ ./configure --prefix=${prefix} || die "./bootstrap failed"
+}
diff --git a/meta/packages/cmake/cmake_2.6.0.bb b/meta/packages/cmake/cmake_2.6.0.bb
new file mode 100644
index 000000000..cd9866ba1
--- /dev/null
+++ b/meta/packages/cmake/cmake_2.6.0.bb
@@ -0,0 +1,2 @@
+CMAKE_MAJOR_VERSION="2.6"
+require cmake.inc