summaryrefslogtreecommitdiff
path: root/ccache/Pkgfile
blob: 0102c1b8c4100fddf73f72e614409a5a3cc59c82 (plain)
    1 # Description: A fast compiler cache.
    2 # URL: https://ccache.samba.org/
    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.4.3
    9 release=1
   10 source=(https://samba.org/ftp/$name/$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 }

Generated by cgit