2011-06-24 17:10:00 +02:00
|
|
|
# Template file for 'ccache'
|
|
|
|
pkgname=ccache
|
2012-01-08 20:02:35 +01:00
|
|
|
version=3.1.7
|
2011-06-24 17:10:00 +02:00
|
|
|
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="zlib-devel"
|
2011-06-24 17:10:00 +02:00
|
|
|
short_desc="compiler cache"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-24 17:10:00 +02:00
|
|
|
homepage="http://cache.samba.org"
|
|
|
|
license="GPL-2"
|
2012-01-08 20:02:35 +01:00
|
|
|
checksum=4931aab14fb1f824b7d349a4366861a82ac19090097e9960f15a0ac8762b4941
|
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
|
|
|
|
2012-02-28 11:27:37 +01:00
|
|
|
post_install() {
|
2011-10-16 17:30:28 +02: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 17:10:00 +02:00
|
|
|
}
|