vp-build/srcpkgs/ccache/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

34 lines
907 B
Plaintext

# Template file for 'ccache'
pkgname=ccache
version=3.1.6
revision=2
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-configure
short_desc="compiler cache"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cache.samba.org"
license="GPL-2"
checksum=1e333149f30671499513e22fb6ec41c485003cad82802fb4c064fa219194ebf3
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 run glibc
Add_dependency run zlib
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
}