summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-05 21:27:10 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-05 21:27:10 +0000
commitc0d92e4e8354a676c665f0ffd16d1300e1d7dfb3 (patch)
tree7a12022ea4d5b31b0915ece4daa6c44675075189
parent742fb4ae71e6a7e655385086ba9edebbf00b6ebd (diff)
packages/cmake: Add CMake version 2.4.7
-Share the description in the cmake.inc file -Update the checksums.ini
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/cmake/cmake-native_2.4.7.bb3
-rw-r--r--packages/cmake/cmake.inc (renamed from packages/cmake/cmake-native_2.2.3.bb)4
-rw-r--r--packages/cmake/cmake_2.4.7.bb2
4 files changed, 10 insertions, 3 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 5c6109ba17..a0559f108e 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -1506,6 +1506,10 @@ sha256=80fd209d065887729fdeb81f5a91638626e7ed31dabab40c446bd12042df9057
md5=c0b57a115e24005f9828ca7b53908779
sha256=f0127ba9cd9936b08f982999f6fd9004c8c4b97401e68bda4d91eec29300d8bd
+[http://www.cmake.org/files/v2.4/cmake-2.4.7.tar.gz]
+md5=4476c423b8f74266136964e42ea88028
+sha256=2fd5feb294b933ae3a0071b8c7a396797cf79dfe6b0ffeff8788e07ff4107d56
+
[ftp://ftp.logilab.fr/pub/common/common-0.4.4.tar.gz]
md5=4cd3ce38efbd27c6cf4223f0ced2a5b5
sha256=21341f1900b0fe919a2ad057c334f5d7172588e4262b3d1b0904da03a9db0cff
diff --git a/packages/cmake/cmake-native_2.4.7.bb b/packages/cmake/cmake-native_2.4.7.bb
new file mode 100644
index 0000000000..fcfdda1c1a
--- /dev/null
+++ b/packages/cmake/cmake-native_2.4.7.bb
@@ -0,0 +1,3 @@
+CMAKE_MAJOR_VERSION="2.4"
+require cmake.inc
+inherit native
diff --git a/packages/cmake/cmake-native_2.2.3.bb b/packages/cmake/cmake.inc
index b4e84cc093..83475bb5eb 100644
--- a/packages/cmake/cmake-native_2.2.3.bb
+++ b/packages/cmake/cmake.inc
@@ -7,14 +7,12 @@ HOMEPAGE = "http://www.cmake.org/"
LICENSE = "Berkely-style license"
SECTION = "console/utils"
-SRC_URI = "http://www.cmake.org/files/v2.2/cmake-${PV}.tar.gz"
+SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
inherit autotools
S = "${WORKDIR}/cmake-${PV}"
-inherit native
-
do_configure () {
./configure --prefix=${base_prefix} || die "./bootstrap failed"
}
diff --git a/packages/cmake/cmake_2.4.7.bb b/packages/cmake/cmake_2.4.7.bb
new file mode 100644
index 0000000000..619aea9701
--- /dev/null
+++ b/packages/cmake/cmake_2.4.7.bb
@@ -0,0 +1,2 @@
+CMAKE_MAJOR_VERSION="2.4"
+require cmake.inc