# Description: A fast compiler cache. # URL: https://ccache.samba.org/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: zlib # Optional: clang-ccache-bindings name=ccache version=3.7.1 release=1 source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz) build() { cd $name-$version ./configure --prefix=/usr make make DESTDIR=$PKG install install -d $PKG/usr/lib/ccache for c in cc gcc g++ cpp c++; do ln -s /usr/bin/ccache $PKG/usr/lib/ccache/$c done }