Convert recipe from autotools to cmake.

zstd is a new hard dependency.

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex.kana...@gmail.com>
---
 .../ccache/{ccache_3.7.11.bb => ccache_4.1.bb}   | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
 rename meta/recipes-devtools/ccache/{ccache_3.7.11.bb => ccache_4.1.bb} (55%)

diff --git a/meta/recipes-devtools/ccache/ccache_3.7.11.bb 
b/meta/recipes-devtools/ccache/ccache_4.1.bb
similarity index 55%
rename from meta/recipes-devtools/ccache/ccache_3.7.11.bb
rename to meta/recipes-devtools/ccache/ccache_4.1.bb
index fd004f4c9b..5f7d93b485 100644
--- a/meta/recipes-devtools/ccache/ccache_3.7.11.bb
+++ b/meta/recipes-devtools/ccache/ccache_4.1.bb
@@ -7,26 +7,18 @@ HOMEPAGE = "http://ccache.samba.org";
 SECTION = "devel"
 
 LICENSE = "GPLv3+"
-LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
+LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=a66c581f855c1c408730fe5d171e3013"
 
-DEPENDS = "zlib"
+DEPENDS = "zstd"
 
 SRC_URI = 
"https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz";
-SRC_URI[sha256sum] = 
"34309a59d4b6b6b33756366aa9d3144a4655587be9f914476b4c0e2d36365f01"
+SRC_URI[sha256sum] = 
"cdeefb827b3eef3b42b5454858123881a4a90abbd46cc72cf8c20b3bd039deb7"
 
 UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/";
 
-inherit autotools
+inherit cmake
 
-# Remove ccache-native's dependencies, so that it can be used widely by
-# other native recipes.
-DEPENDS_class-native = ""
-EXTRA_OECONF_class-native = "--with-bundled-zlib"
-INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
 PATCHTOOL = "patch"
 
 BBCLASSEXTEND = "native"
 
-do_configure_class-native() {
-    oe_runconf
-}
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146267): 
https://lists.openembedded.org/g/openembedded-core/message/146267
Mute This Topic: https://lists.openembedded.org/mt/79276801/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to