diff --git a/programming/build/ccache/actions.py b/programming/build/ccache/actions.py index 414a144da1..a54c32dd69 100644 --- a/programming/build/ccache/actions.py +++ b/programming/build/ccache/actions.py @@ -2,31 +2,32 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import cmaketools, mesontools, pisitools, get + +i = ''.join([ + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DREDIS_STORAGE_BACKEND=OFF', + ' -Bbuild -G Ninja -L ' + ]) def setup(): - if shelltools.isDirectory("zlib"): - shelltools.unlinkDir("zlib") - - autotools.configure("--prefix=/usr") + cmaketools.configure(i) def build(): - autotools.make() + mesontools.build() def check(): - autotools.make("check") +# mesontools.build("test") + pass def install(): - autotools.install() + mesontools.install() # Create symlinks for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++" - pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s" % cc) - pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc)) + pisitools.dosym("/usr/bin/ccache", "/usr/lib/ccache/bin/%s" % cc) + pisitools.dosym("/usr/bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc)) - #pisitools.dodoc("LICENSE.txt", "README.txt") + pisitools.dodoc("GPL-3.0.txt", "LGPL-3.0.txt") diff --git a/programming/build/ccache/pspec.xml b/programming/build/ccache/pspec.xml index 80742e1db7..96b7578641 100644 --- a/programming/build/ccache/pspec.xml +++ b/programming/build/ccache/pspec.xml @@ -1,39 +1,53 @@ - + ccache - https://ccache.samba.org/ + https://ccache.dev/ PisiLinux Community admins@pisilinux.org - GPLv3+ + GPLv3 app:console - Fast C/C++ compiler cache - ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done. - - https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.xz + Fast C/C++ compiler cache. + Ccache speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done. + https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2.tar.xz - zlib-devel + cmake + ninja + fmt-devel + zstd-devel + asciidoctor + blake3-devel + xxhash-devel ccache - - zlib + fmt + zstd + blake3 + xxhash /usr/bin - /usr/lib/ccache/bin + /usr/lib /usr/share/doc /usr/share/man + + 2025-02-11 + 4.10.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-05-18 3.7.7