mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
ccache: new package.
This commit is contained in:
parent
40c284304d
commit
d03f107336
1 changed files with 28 additions and 0 deletions
28
srcpkgs/ccache/template
Normal file
28
srcpkgs/ccache/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'ccache'
|
||||||
|
pkgname=ccache
|
||||||
|
version=3.1.5
|
||||||
|
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
|
build_style=gnu_configure
|
||||||
|
short_desc="compiler cache"
|
||||||
|
maintainer="Mike Rosset <mike.rosset@gmail.com>"
|
||||||
|
homepage="http://cache.samba.org"
|
||||||
|
license="GPL-2"
|
||||||
|
checksum=aac690d7e452f408d458b11c07ab5bf22055d398b2a010052d3d208670a99c36
|
||||||
|
long_desc="
|
||||||
|
ccache is a compiler cache. It speeds up recompilation by caching previous
|
||||||
|
compilations and detecting when the same compilation is being done again.
|
||||||
|
Supported languages are C, C++, Objective-C and Objective-C++."
|
||||||
|
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency build glibc-devel
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
install -d ${DESTDIR}/usr/lib/ccache/bin
|
||||||
|
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/cc
|
||||||
|
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/gcc
|
||||||
|
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/g++
|
||||||
|
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/cpp
|
||||||
|
ln -sf /usr/bin/ccache $DESTDIR/usr/lib/ccache/bin/c++
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue