# Template file for 'ccache' pkgname=ccache version=3.1.7 distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu-configure short_desc="compiler cache" maintainer="Juan RP " homepage="http://cache.samba.org" license="GPL-2" checksum=4931aab14fb1f824b7d349a4366861a82ac19090097e9960f15a0ac8762b4941 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++." bootstrap=yes Add_dependency build zlib-devel if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then Add_dependency build coreutils fi post_install() { 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 }