void-packages/srcpkgs/ccache/template

25 lines
785 B
Bash
Raw Normal View History

2011-06-24 15:10:00 +00:00
# Template file for 'ccache'
pkgname=ccache
2015-05-11 04:28:15 +00:00
version=3.2.2
revision=3
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@voidlinux.eu>"
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"
2015-05-11 04:28:15 +00:00
checksum=440f5e15141cc72d2bfff467c977020979810eb800882e3437ad1a7153cce7b2
2011-06-24 15:10:00 +00:00
post_install() {
2011-10-16 15:30:28 +00:00
vmkdir usr/lib/ccache/bin
for f in gcc cc c++ cpp g++; do
2013-01-07 09:03:31 +00:00
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
for x in arm-linux-gnueabi arm-linux-gnueabihf armv7l-linux-gnueabihf \
arm-linux-musleabihf armv7l-linux-musleabihf; 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
}