wok rev 24398

updated ccache (3.7.7 -> 4.5.1)
author Hans-G?nter Theisgen
date Tue Feb 08 14:13:40 2022 +0100 (2022-02-08)
parents 351381d7a506
children 45f846c0c126
files ccache/description.txt ccache/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ccache/description.txt	Tue Feb 08 14:13:40 2022 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +Ccache is a compiler cache. It speeds up recompilation by caching
     1.5 +previous compilations and detecting when the same compilation is
     1.6 +being done again.
     1.7 +
     1.8 +Features
     1.9 +
    1.10 +- Supports GCC, Clang and other similar compilers.
    1.11 +- Works on Linux, macOS, other Unix-like operating systems and Windows.
    1.12 +- Understands C, C++, assembler, CUDA, Objective-C and Objective-C++.
    1.13 +- Supports secondary storage on HTTP, Redis or local filesystem,
    1.14 +  optionally sharding data to a server cluster.
    1.15 +- Supports fast "direct" and "depend" modes that don't rely on using
    1.16 +  the preprocessor.
    1.17 +- Supports compression using Zstandard.
    1.18 +- Checksums cache content using XXH3 to detect data corruption.
    1.19 +- Keeps statistics on hits and misses.
    1.20 +- Automatic cache size management.
    1.21 +- Easy installation.
    1.22 +- Low overhead.
    1.23 +- Support for rewriting absolute paths to relative in order to increase
    1.24 +  the cache hit ratio.
    1.25 +- Optionally uses file cloning (AKA "reflinks") where possible
    1.26 +  to avoid copies.
    1.27 +- Optionally uses hard links where possible to avoid copies.
     2.1 --- a/ccache/receipt	Tue Feb 08 13:39:16 2022 +0100
     2.2 +++ b/ccache/receipt	Tue Feb 08 14:13:40 2022 +0100
     2.3 @@ -1,20 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="ccache"
     2.7 -VERSION="3.7.7"
     2.8 +VERSION="4.5.1"
     2.9  CATEGORY="development"
    2.10  TAGS="compiler"
    2.11  SHORT_DESC="Compiler cache."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="GPL3"
    2.14 -WEB_SITE="https://ccache.samba.org/"
    2.15 +WEB_SITE="https://ccache.dev/"
    2.16  
    2.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.18  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    2.19  
    2.20  SUGGESTED="gcc"
    2.21 -DEPENDS="zlib"
    2.22 -BUILD_DEPENDS="zlib-dev"
    2.23 +DEPENDS="gcc83-lib-base hiredis libatomic zstd"
    2.24 +BUILD_DEPENDS="cmake gcc83 hiredis-dev zstd-dev"
    2.25  
    2.26  current_version()
    2.27  {
    2.28 @@ -25,18 +25,20 @@
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	./configure				\
    2.33 -		--prefix=/usr			\
    2.34 -		--infodir=/usr/share/info	\
    2.35 -		--mandir=/usr/share/man		\
    2.36 -		$CONFIGURE_ARGS &&
    2.37 +	export	CC=gcc-83
    2.38 +	export	CXX=g++-83
    2.39 +
    2.40 +	mkdir	_build &&
    2.41 +	cd	_build &&
    2.42 +	cmake	..				\
    2.43 +		-D CMAKE_BUILD_TYPE=Release	\
    2.44 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.45  	make &&
    2.46 -	make DESTDIR=$DESTDIR install
    2.47 +	make install DESTDIR=$DESTDIR
    2.48  }
    2.49  
    2.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.51  genpkg_rules()
    2.52  {
    2.53 -	mkdir -p $fs/usr
    2.54 -	cp -a $install/usr/bin	$fs/usr
    2.55 +	cook_copy_folders	bin
    2.56  }