26 lines
512 B
Plaintext
26 lines
512 B
Plaintext
# Description: A fast compiler cache.
|
|
# URL: https://ccache.dev/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: zlib
|
|
# Optional: clang-ccache-bindings
|
|
|
|
name=ccache
|
|
version=3.7.10
|
|
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
|
|
}
|