24 lines
742 B
Plaintext
24 lines
742 B
Plaintext
# Template file for 'ccache'
|
|
pkgname=ccache
|
|
version=3.2
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel"
|
|
short_desc="A Fast C/C++ Compiler Cache"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://ccache.samba.org"
|
|
license="GPL-2"
|
|
distfiles="http://samba.org/ftp/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=3593822bfacefc73a682c5a45bc5b16641c0b6deed7197d9ff69bd6d9c29a5ca
|
|
|
|
post_install() {
|
|
vmkdir usr/lib/ccache/bin
|
|
for f in gcc cc c++ cpp g++ clang clang++; do
|
|
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
|
|
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
|
|
done
|
|
}
|