summaryrefslogtreecommitdiff
path: root/ccache/Pkgfile
blob: 1fa86c2e3147c59cab894af612c1a5f7cc5379c7 (plain)
    1 # Maintainer: Johannes Winkelmann, jw at tks6 dot net 
    2 # Packager: 
    3 # Description: A compiler cache
    4 # URL: http://ccache.samba.org
    5 
    6 name=ccache
    7 version=2.4
    8 release=2
    9 source=(http://samba.org/ftp/$name/$name-$version.tar.gz)
   10 
   11 build() {
   12     cd $name-$version
   13     ./configure --prefix=/usr --disable-nls
   14     make
   15     make DESTDIR=$PKG install
   16 
   17     mkdir -p $PKG/usr/lib/$name
   18     for c in cc c++ gcc g++; do
   19         cd $PKG/usr/lib/$name && ln -s ../../bin/ccache $c
   20     done
   21    
   22     rm -rf $PKG/usr/info
   23 }

Generated by cgit