# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup ccache ccache 3.3.4 v
maintainers ryandesign openmaintainer
description object-file caching compiler wrapper
ccache is a compiler cache. It acts as a caching pre-processor to C/C++ \
compilers, using the -E compiler switch and a hash to detect when a \
compilation can be satisfied from cache. This often results in a 5 to 10 \
times speedup in common compilations.
homepage https://ccache.samba.org/
checksums rmd160 c8ebc85cb2ef68a66f2425bd4638a5cf540fb2c4 \
sha256 0eb594e2af6ba7583382c73a68357582d4487ac368e6923926a9b507d57c1711
# use_autoconf yes and setting autoconf.cmd to a non-default value will modify
# depends_build, removing autoconf/automake/libtool. Avoid this by doing it
# before setting depends_build.
autoconf.cmd ./autogen.sh
depends_build port:asciidoc \
patchfiles patch-dev.mk.in.diff
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/dev.mk.in
build.target-append ccache.1
set symlinks_dir ${prefix}/libexec/ccache
file mkdir ${destroot}${symlinks_dir}
gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2
c++ c++3 c++-3.3 c++-4.0 c++-4.2
g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2
ln -sf ${prefix}/bin/ccache ${destroot}${symlinks_dir}/${bin}