diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2008-05-07 19:15:32 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2008-05-08 19:20:10 +1000 |
commit | 034962d2ea289a26d847daf1f2f49df5bd161a09 (patch) | |
tree | 21ea61fb529aecc4a7d3a72c7b8559be6e7f00d5 /distcc/Pkgfile | |
parent | 630426be7ecaa1cc6da236f64a209372d1a512ec (diff) | |
download | contrib-034962d2ea289a26d847daf1f2f49df5bd161a09.tar.gz contrib-034962d2ea289a26d847daf1f2f49df5bd161a09.tar.xz |
distcc: moved symlinks out of Pkgfile
Diffstat (limited to 'distcc/Pkgfile')
-rw-r--r-- | distcc/Pkgfile | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/distcc/Pkgfile b/distcc/Pkgfile index a8588b5e2..ddda9f416 100644 --- a/distcc/Pkgfile +++ b/distcc/Pkgfile @@ -1,22 +1,18 @@ # Description: A tool to distribute compilations. -# URL: http://distcc.samba.org +# URL: http://distcc.samba.org/ # Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Packager: Johannes Winkelmann, jw at tks6 dot net # Depends on: popt name=distcc version=2.18.3 -release=3 +release=4 source=(http://distcc.samba.org/ftp/distcc/distcc-$version.tar.bz2 \ - distccd) + distcc-$version-install.patch distccd) build() { cd distcc-$version - - sed -i \ - -e "s|^sysconfdir='\${prefix}/etc'$|sysconfdir='/etc'|" \ - -e "s|^localstatedir='\${prefix}/var'$|localstatedir='/var'|" \ - configure + patch -p 1 -i ../distcc-$version-install.patch ./configure \ --prefix=/usr \ @@ -25,18 +21,7 @@ build() { --without-gtk make - make prefix=$PKG/usr install - - install -d $PKG/usr/lib/distcc - for c in cc c++ gcc g++; do - cd $PKG/usr/lib/distcc && ln -s ../../bin/distcc $c - done - - mkdir -p $PKG/etc/rc.d - install -m755 $SRC/distccd $PKG/etc/rc.d/distccd - - rm -rf $PKG/usr/share/doc - rm -rf $PKG/usr/info - rm -r $PKG/usr/share + make DESTDIR=$PKG install-man install-programs + install -m 0755 -D ../distccd $PKG/etc/rc.d/distccd } |