]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - ccache/ccache.nm
kernel: remove grubby from dependencies
[ipfire-3.x.git] / ccache / ccache.nm
index 8d5d36f56a828d26d12b512b4b8ae715ebf88b3a..6edc79767a7c9a51a913461bbb429800d0a30900 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 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.
 
@@ -19,7 +19,7 @@ description
        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
@@ -27,25 +27,24 @@ CFLAGS += -DDEFAULT_MAXSIZE=2097152
 
 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