2011-06-24 17:10:00 +02:00
|
|
|
# Template file for 'ccache'
|
|
|
|
pkgname=ccache
|
2015-05-11 06:28:15 +02:00
|
|
|
version=3.2.2
|
2015-05-18 15:30:58 +02:00
|
|
|
revision=3
|
2012-08-12 08:49:14 +02:00
|
|
|
bootstrap=yes
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="zlib-devel"
|
2012-08-12 08:49:14 +02:00
|
|
|
short_desc="A Fast C/C++ Compiler Cache"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-08-12 08:49:14 +02:00
|
|
|
homepage="http://ccache.samba.org"
|
2011-06-24 17:10:00 +02:00
|
|
|
license="GPL-2"
|
2013-01-07 10:03:31 +01:00
|
|
|
distfiles="http://samba.org/ftp/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2015-05-11 06:28:15 +02:00
|
|
|
checksum=440f5e15141cc72d2bfff467c977020979810eb800882e3437ad1a7153cce7b2
|
2011-06-24 17:10:00 +02:00
|
|
|
|
2012-02-28 11:27:37 +01:00
|
|
|
post_install() {
|
2011-10-16 17:30:28 +02:00
|
|
|
vmkdir usr/lib/ccache/bin
|
2015-01-14 18:33:10 +01:00
|
|
|
for f in gcc cc c++ cpp g++; do
|
2013-01-07 10:03:31 +01:00
|
|
|
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
|
2015-05-18 15:30:58 +02:00
|
|
|
for x in arm-linux-gnueabi arm-linux-gnueabihf armv7l-linux-gnueabihf \
|
|
|
|
arm-linux-musleabihf armv7l-linux-musleabihf; do
|
2014-05-24 11:09:09 +02:00
|
|
|
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
|
|
|
|
done
|
2011-10-16 17:30:28 +02:00
|
|
|
done
|
2011-06-24 17:10:00 +02:00
|
|
|
}
|