forked from ports/contrib
38 lines
785 B
Plaintext
38 lines
785 B
Plaintext
# Description: A tool to distribute compilations.
|
|
# URL: http://distcc.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=3.1
|
|
release=1
|
|
source=(http://distcc.googlecode.com/files/$name-$version.tar.bz2
|
|
distccd)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--without-gnome \
|
|
--without-gtk
|
|
|
|
make
|
|
make DESTDIR=$PKG install-man install-programs
|
|
|
|
# distccd should be in sbin
|
|
install -d $PKG/usr/sbin
|
|
mv $PKG/usr/bin/distccd $PKG/usr/sbin/distccd
|
|
|
|
install -m 0755 -D $SRC/distccd $PKG/etc/rc.d/distccd
|
|
|
|
install -d $PKG/usr/lib/distcc
|
|
cd $PKG/usr/lib/distcc
|
|
for c in cc c++ gcc g++; do
|
|
ln -s ../../bin/distcc $c
|
|
done
|
|
cd -
|
|
}
|