# HG changeset patch # User Hans-G?nter Theisgen # Date 1644326020 -3600 # Node ID cba18b5ddbbbb54392e522d793d80bba121b11c4 # Parent 351381d7a506d636a236dbca957069f451b66e89 updated ccache (3.7.7 -> 4.5.1) diff -r 351381d7a506 -r cba18b5ddbbb ccache/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ccache/description.txt Tue Feb 08 14:13:40 2022 +0100 @@ -0,0 +1,24 @@ +Ccache is a compiler cache. It speeds up recompilation by caching +previous compilations and detecting when the same compilation is +being done again. + +Features + +- Supports GCC, Clang and other similar compilers. +- Works on Linux, macOS, other Unix-like operating systems and Windows. +- Understands C, C++, assembler, CUDA, Objective-C and Objective-C++. +- Supports secondary storage on HTTP, Redis or local filesystem, + optionally sharding data to a server cluster. +- Supports fast "direct" and "depend" modes that don't rely on using + the preprocessor. +- Supports compression using Zstandard. +- Checksums cache content using XXH3 to detect data corruption. +- Keeps statistics on hits and misses. +- Automatic cache size management. +- Easy installation. +- Low overhead. +- Support for rewriting absolute paths to relative in order to increase + the cache hit ratio. +- Optionally uses file cloning (AKA "reflinks") where possible + to avoid copies. +- Optionally uses hard links where possible to avoid copies. diff -r 351381d7a506 -r cba18b5ddbbb ccache/receipt --- a/ccache/receipt Tue Feb 08 13:39:16 2022 +0100 +++ b/ccache/receipt Tue Feb 08 14:13:40 2022 +0100 @@ -1,20 +1,20 @@ # SliTaz package receipt. PACKAGE="ccache" -VERSION="3.7.7" +VERSION="4.5.1" CATEGORY="development" TAGS="compiler" SHORT_DESC="Compiler cache." MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" -WEB_SITE="https://ccache.samba.org/" +WEB_SITE="https://ccache.dev/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" SUGGESTED="gcc" -DEPENDS="zlib" -BUILD_DEPENDS="zlib-dev" +DEPENDS="gcc83-lib-base hiredis libatomic zstd" +BUILD_DEPENDS="cmake gcc83 hiredis-dev zstd-dev" current_version() { @@ -25,18 +25,20 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + export CC=gcc-83 + export CXX=g++-83 + + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_INSTALL_PREFIX=/usr && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin }