blob: 146e28c3123050242e260dd89c7458072d72a2f6 (
plain)
1 # Description: A fast compiler cache.
2 # URL: https://ccache.dev/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: zlib
5 # Optional: clang-ccache-bindings
6
7 name=ccache
8 version=3.7.2
9 release=1
10 source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --prefix=/usr
16
17 make
18 make DESTDIR=$PKG install
19
20 install -d $PKG/usr/lib/ccache
21
22 for c in cc gcc g++ cpp c++; do
23 ln -s /usr/bin/ccache $PKG/usr/lib/ccache/$c
24 done
25 }
|