distcc: remove empty directory

move configuration directory from /usr/etc -> /etc
move /usr/var -> /var
add missing dependency popt
disable gnome monitor
This commit is contained in:
Danny Rawlins 2007-07-31 21:39:17 +10:00
parent 34c7046b9b
commit 9f238aba6f
2 changed files with 10 additions and 4 deletions

View File

@ -17,4 +17,3 @@ drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/distcc.1.gz
-rw-r--r-- root/root usr/man/man1/distccd.1.gz
-rw-r--r-- root/root usr/man/man1/distccmon-text.1.gz
drwxr-xr-x root/root usr/share/

View File

@ -1,21 +1,27 @@
# Description: A tool to distribute compilations
# Description: A tool to distribute compilations.
# URL: http://distcc.samba.org
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Johannes Winkelmann, jw at tks6 dot net
# Depends on:
# Depends on: popt
name=distcc
version=2.18.3
release=2
release=3
source=(http://distcc.samba.org/ftp/distcc/distcc-$version.tar.bz2 \
distccd)
build() {
cd distcc-$version
sed -i \
-e "s|^sysconfdir='\${prefix}/etc'$|sysconfdir='/etc'|" \
-e "s|^localstatedir='\${prefix}/var'$|localstatedir='/var'|" \
configure
./configure \
--prefix=/usr \
--disable-nls \
--without-gnome \
--without-gtk
make
@ -31,5 +37,6 @@ build() {
rm -rf $PKG/usr/share/doc
rm -rf $PKG/usr/info
rm -r $PKG/usr/share
}