opt/ccache/Pkgfile
Tilman Sauerbeck 6a8b8287f2 ccache: adopted
2007-04-03 19:16:07 +02:00

24 lines
503 B
Plaintext

# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Packager:
# Description: A compiler cache
# URL: http://ccache.samba.org
name=ccache
version=2.4
release=2
source=(http://samba.org/ftp/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/lib/$name
for c in cc c++ gcc g++; do
cd $PKG/usr/lib/$name && ln -s ../../bin/ccache $c
done
rm -rf $PKG/usr/info
}