diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | bdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch) | |
tree | 1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /ccache/Pkgfile | |
download | opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz |
create branch for 2.2
Diffstat (limited to 'ccache/Pkgfile')
-rw-r--r-- | ccache/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ccache/Pkgfile b/ccache/Pkgfile new file mode 100644 index 000000000..1fa86c2e3 --- /dev/null +++ b/ccache/Pkgfile @@ -0,0 +1,23 @@ +# Maintainer: Johannes Winkelmann, jw at tks6 dot net +# Packager: +# Description: A compiler cache +# URL: http://ccache.samba.org + +name=ccache +version=2.4 +release=2 +source=(http://samba.org/ftp/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr --disable-nls + make + make DESTDIR=$PKG install + + mkdir -p $PKG/usr/lib/$name + for c in cc c++ gcc g++; do + cd $PKG/usr/lib/$name && ln -s ../../bin/ccache $c + done + + rm -rf $PKG/usr/info +} |