-Share the description in the cmake.inc file
-Update the checksums.ini
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
--- /dev/null
+CMAKE_MAJOR_VERSION="2.4"
+require cmake.inc
+inherit native
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"
}
--- /dev/null
+CMAKE_MAJOR_VERSION="2.4"
+require cmake.inc