From f0a7dda7ca5891361821f41a7515254c09c648d1 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 24 Jun 2008 08:03:27 +0000 Subject: cmake: move definition of CMAKE_MAJOR_VERSION into python function in .inc * no further changes across major versions necessary --- packages/cmake/cmake.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/cmake/cmake.inc') diff --git a/packages/cmake/cmake.inc b/packages/cmake/cmake.inc index 5190b6233f..ddc5f98ae2 100644 --- a/packages/cmake/cmake.inc +++ b/packages/cmake/cmake.inc @@ -6,6 +6,7 @@ HOMEPAGE = "http://www.cmake.org/" LICENSE = "Berkely-style license" SECTION = "console/utils" +CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz" inherit autotools -- cgit v1.2.3 From c83937635cbf7a31d01e6a4c31ddad8050f6bbb7 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Wed, 25 Jun 2008 06:22:05 +0000 Subject: cmake: fix minor spelling error. --- packages/cmake/cmake.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/cmake/cmake.inc') diff --git a/packages/cmake/cmake.inc b/packages/cmake/cmake.inc index ddc5f98ae2..d046c84858 100644 --- a/packages/cmake/cmake.inc +++ b/packages/cmake/cmake.inc @@ -3,7 +3,7 @@ DESCRIPTION = "A cross-platform, open-source make system" HOMEPAGE = "http://www.cmake.org/" -LICENSE = "Berkely-style license" +LICENSE = "Berkeley-style license" SECTION = "console/utils" CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" -- cgit v1.2.3