summaryrefslogtreecommitdiff
path: root/contrib/depends/packages/native_ccache.mk
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-11-21 06:07:54 -0500
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-11-21 06:07:54 -0500
commitc90fa7019e8d6ce064e5736223ec055aafb37fd1 (patch)
treed3f5b265db078332a430f205bde2b28fe700c0e6 /contrib/depends/packages/native_ccache.mk
parent733e2ef4aba51e153ebee902e57045b438bb12d4 (diff)
ios fix, update depends, ci
Diffstat (limited to 'contrib/depends/packages/native_ccache.mk')
-rw-r--r--contrib/depends/packages/native_ccache.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/depends/packages/native_ccache.mk b/contrib/depends/packages/native_ccache.mk
index 966804c..6821454 100644
--- a/contrib/depends/packages/native_ccache.mk
+++ b/contrib/depends/packages/native_ccache.mk
@@ -1,25 +1,25 @@
package=native_ccache
-$(package)_version=3.3.4
+$(package)_version=4.10.2
$(package)_download_path=https://samba.org/ftp/ccache
-$(package)_file_name=ccache-$($(package)_version).tar.bz2
-$(package)_sha256_hash=fa9d7f38367431bc86b19ad107d709ca7ecf1574fdacca01698bdf0a47cd8567
+$(package)_file_name=ccache-$($(package)_version).tar.gz
+$(package)_sha256_hash=108100960bb7e64573ea925af2ee7611701241abb36ce0aae3354528403a7d87
define $(package)_set_vars
-$(package)_config_opts=
+$(package)_config_opts=-DCMAKE_INSTALL_PREFIX="$(host_prefix)/native"
endef
define $(package)_config_cmds
- $($(package)_autoconf)
+ cmake -S . -B build $($(package)_config_opts)
endef
define $(package)_build_cmds
- $(MAKE)
+ cmake --build build --parallel
endef
define $(package)_stage_cmds
- $(MAKE) DESTDIR=$($(package)_staging_dir) install
+ cd build && $(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
define $(package)_postprocess_cmds
- rm -rf lib include
+ rm -rf $($(package)_staging_dir)/lib $($(package)_staging_dir)/include
endef