2011-06-24 15:10:00 +00:00
|
|
|
# Template file for 'ccache'
|
|
|
|
pkgname=ccache
|
2012-08-12 06:49:14 +00:00
|
|
|
version=3.1.8
|
|
|
|
revision=1
|
|
|
|
bootstrap=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="zlib-devel"
|
2012-08-12 06:49:14 +00:00
|
|
|
short_desc="A Fast C/C++ Compiler Cache"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-08-12 06:49:14 +00:00
|
|
|
homepage="http://ccache.samba.org"
|
2011-06-24 15:10:00 +00:00
|
|
|
license="GPL-2"
|
2012-08-12 06:49:14 +00:00
|
|
|
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=b46b5d4b4fd0c0e4e2e9df069d41ded071b73053535ff115e55259e3fcadf3fd
|
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++."
|
|
|
|
|
2012-02-28 10:27:37 +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
|
|
|
}
|