void-packages/srcpkgs/ccache/template
2013-02-19 12:41:51 +01:00

21 lines
606 B
Text

# Template file for 'ccache'
pkgname=ccache
version=3.1.9
revision=2
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
crossmakedepends="${makedepends}"
short_desc="A Fast C/C++ Compiler Cache"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://ccache.samba.org"
license="GPL-2"
distfiles="http://samba.org/ftp/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=04d3e2e438ac8d4cc4b110b68cdd61bd59226c6588739a4a386869467f5ced7c
post_install() {
vmkdir usr/lib/ccache/bin
for f in gcc cc c++ cpp g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
done
}