2011-06-24 15:10:00 +00:00
|
|
|
# Template file for 'ccache'
|
|
|
|
pkgname=ccache
|
2011-09-01 07:39:16 +00:00
|
|
|
version=3.1.6
|
2011-11-12 01:54:14 +00:00
|
|
|
revision=3
|
2011-06-24 15:10:00 +00:00
|
|
|
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-24 15:10:00 +00:00
|
|
|
short_desc="compiler cache"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-24 15:10:00 +00:00
|
|
|
homepage="http://cache.samba.org"
|
|
|
|
license="GPL-2"
|
2011-09-01 07:39:16 +00:00
|
|
|
checksum=1e333149f30671499513e22fb6ec41c485003cad82802fb4c064fa219194ebf3
|
2011-06-24 15:10:00 +00: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-18 22:23:12 +00:00
|
|
|
bootstrap=yes
|
2011-06-24 17:38:44 +00:00
|
|
|
Add_dependency build zlib-devel
|
2011-06-24 15:10:00 +00:00
|
|
|
|
2011-10-18 08:55:41 +00:00
|
|
|
if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
|
|
|
|
Add_dependency build coreutils
|
|
|
|
fi
|
|
|
|
|
2011-06-24 15:10:00 +00:00
|
|
|
post_install()
|
|
|
|
{
|
2011-10-16 15:30:28 +00:00
|
|
|
vmkdir usr/lib/ccache/bin
|
|
|
|
cd ${DESTDIR}/usr/lib/ccache/bin
|
|
|
|
for f in cc c++ cpp g++; do
|
|
|
|
ln -sf ../../../bin/ccache ${f}
|
|
|
|
done
|
2011-06-24 15:10:00 +00:00
|
|
|
}
|