void-packages/srcpkgs/ccache/template

24 lines
742 B
Text
Raw Normal View History

2011-06-24 15:10:00 +00:00
# Template file for 'ccache'
pkgname=ccache
2014-11-20 08:30:51 +00:00
version=3.2
revision=1
2012-08-12 06:49:14 +00:00
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
2012-08-12 06:49:14 +00:00
short_desc="A Fast C/C++ Compiler Cache"
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"
2013-01-07 09:03:31 +00:00
distfiles="http://samba.org/ftp/${pkgname}/${pkgname}-${version}.tar.bz2"
2014-11-20 08:30:51 +00:00
checksum=3593822bfacefc73a682c5a45bc5b16641c0b6deed7197d9ff69bd6d9c29a5ca
2011-06-24 15:10:00 +00:00
post_install() {
2011-10-16 15:30:28 +00:00
vmkdir usr/lib/ccache/bin
2014-10-31 08:31:38 +00:00
for f in gcc cc c++ cpp g++ clang clang++; do
2013-01-07 09:03:31 +00:00
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
2014-10-20 05:45:54 +00:00
for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
done
2011-10-16 15:30:28 +00:00
done
2011-06-24 15:10:00 +00:00
}