29 lines
682 B
Plaintext
29 lines
682 B
Plaintext
|
# Packager:
|
||
|
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
|
||
|
# Description: A tool to distribute compilations
|
||
|
# URL: http://distcc.samba.org
|
||
|
|
||
|
name=distcc
|
||
|
version=2.18.3
|
||
|
release=2
|
||
|
source=(http://${name}.samba.org/ftp/${name}/${name}-${version}.tar.bz2 \
|
||
|
distccd)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
./configure --prefix=/usr --disable-nls --without-gtk
|
||
|
make
|
||
|
make prefix=$PKG/usr install
|
||
|
|
||
|
mkdir -p $PKG/usr/lib/$name
|
||
|
for c in cc c++ gcc g++; do
|
||
|
cd $PKG/usr/lib/$name && ln -s ../../bin/distcc $c
|
||
|
done
|
||
|
|
||
|
mkdir -p $PKG/etc/rc.d
|
||
|
install -m 755 $SRC/distccd $PKG/etc/rc.d/distccd
|
||
|
|
||
|
rm -rf $PKG/usr/share/doc
|
||
|
rm -rf $PKG/usr/info/
|
||
|
}
|