2011-06-24 15:10:00 +00:00
|
|
|
# Template file for 'ccache'
|
|
|
|
pkgname=ccache
|
2013-01-07 09:03:31 +00:00
|
|
|
version=3.1.9
|
2014-05-24 09:09:09 +00:00
|
|
|
revision=3
|
2012-08-12 06:49:14 +00:00
|
|
|
bootstrap=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="zlib-devel"
|
2012-08-12 06:49:14 +00:00
|
|
|
short_desc="A Fast C/C++ Compiler Cache"
|
2011-07-17 06:27:36 +00:00
|
|
|
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"
|
|
|
|
checksum=04d3e2e438ac8d4cc4b110b68cdd61bd59226c6588739a4a386869467f5ced7c
|
2011-06-24 15:10:00 +00:00
|
|
|
|
2012-02-28 10:27:37 +00:00
|
|
|
post_install() {
|
2011-10-16 15:30:28 +00:00
|
|
|
vmkdir usr/lib/ccache/bin
|
2013-01-27 10:06:55 +00:00
|
|
|
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}
|
2014-05-24 09:09:09 +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
|
|
|
}
|