summaryrefslogtreecommitdiff
path: root/ccache/Pkgfile
blob: 3e25f3ae509566c85d409fedd578a7a3fb4b186b (plain)
    1 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
    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