###############################################################################
name = ccache
-version = 3.2.1
+version = 3.7.1
release = 1
groups = Development/Compilers
-url = http://ccache.samba.org/
+url = https://ccache.dev
license = GPLv2+
summary = C/C++ compiler cache.
a 5 to 10 times speedup in common compilations.
end
-source_dl = http://samba.org/ftp/ccache/
+source_dl = https://github.com/ccache/ccache/releases/download/v%{version}/
sources = %{thisapp}.tar.xz
# Sets ccache max size up to 2 GB
build
requires
+ autoconf
+ automake
perl
zlib-devel
end
- CCACHE_CACHE = /var/cache/ccache
-
- configure_options += \
- --mandir=/usr/share/man
+ CCACHE_CACHE = %{localstatedir}/cache/ccache
prepare_cmds
- # Disable pch test that fails
- sed -e "s/^pch_suite.*/& return 0/" -i test.sh
+ # Do not run test for pre-compiled headers
+ sed -e "/^pch$/d" -i test/run
# Remove shipped zlib
rm -rf zlib
end
test
- SHELL=/bin/bash make check
+ make check
end
install_cmds