summaryrefslogtreecommitdiff
path: root/meta/packages/cmake
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:35:12 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:35:12 +0000
commitd03024f85a8a68fd612f7e28b6ebc46949f18a82 (patch)
treec220ac42f36a579a438ff17b2368281314434542 /meta/packages/cmake
parenta1f24d10a64ebd42cae62e554f5127151bbdec6e (diff)
downloadopenembedded-core-d03024f85a8a68fd612f7e28b6ebc46949f18a82.tar.gz
openembedded-core-d03024f85a8a68fd612f7e28b6ebc46949f18a82.tar.bz2
openembedded-core-d03024f85a8a68fd612f7e28b6ebc46949f18a82.tar.xz
openembedded-core-d03024f85a8a68fd612f7e28b6ebc46949f18a82.zip
cmake: added 2.6.0 (based on OE 2.4.8 recipes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4687 311d38ba-8fff-0310-9ca6-ca027cbcb966
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