summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-devtools/ccache/ccache.inc
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-devtools/ccache/ccache.inc')
-rw-r--r--external/poky/meta/recipes-devtools/ccache/ccache.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/external/poky/meta/recipes-devtools/ccache/ccache.inc b/external/poky/meta/recipes-devtools/ccache/ccache.inc
index 65663289..dcbbf0ca 100644
--- a/external/poky/meta/recipes-devtools/ccache/ccache.inc
+++ b/external/poky/meta/recipes-devtools/ccache/ccache.inc
@@ -9,8 +9,20 @@ LICENSE = "GPLv3+"
DEPENDS = "zlib"
-SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.xz"
+SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz"
+UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
inherit autotools
+# 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
+}