void-packages/srcpkgs/ccache/template

30 lines
1011 B
Plaintext
Raw Normal View History

2011-06-24 17:10:00 +02:00
# Template file for 'ccache'
pkgname=ccache
2011-09-01 09:39:16 +02:00
version=3.1.6
2011-06-24 17:10:00 +02:00
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="compiler cache"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-24 17:10:00 +02:00
homepage="http://cache.samba.org"
license="GPL-2"
2011-09-01 09:39:16 +02:00
checksum=1e333149f30671499513e22fb6ec41c485003cad82802fb4c064fa219194ebf3
2011-06-24 17:10:00 +02:00
long_desc="
ccache is a compiler cache. It speeds up recompilation by caching previous
compilations and detecting when the same compilation is being done again.
Supported languages are C, C++, Objective-C and Objective-C++."
2011-07-19 00:23:12 +02:00
bootstrap=yes
2011-06-24 17:10:00 +02:00
Add_dependency run glibc
2011-06-24 19:38:44 +02:00
Add_dependency run zlib
Add_dependency build zlib-devel
2011-06-24 17:10:00 +02:00
post_install()
{
install -d ${DESTDIR}/usr/lib/ccache/bin
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/cc
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/gcc
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/g++
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/cpp
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/c++
}