diff --git a/srcpkgs/distcc-gtk b/srcpkgs/distcc-gtk new file mode 120000 index 0000000000..fa7d8db949 --- /dev/null +++ b/srcpkgs/distcc-gtk @@ -0,0 +1 @@ +distcc \ No newline at end of file diff --git a/srcpkgs/distcc/template b/srcpkgs/distcc/template index f7eb6e0923..4815972486 100644 --- a/srcpkgs/distcc/template +++ b/srcpkgs/distcc/template @@ -3,14 +3,15 @@ pkgname=distcc version=3.2rc1 revision=5 build_style=gnu-configure -configure_args="--disable-Werror" -makedepends="pkg-config python-devel popt-devel avahi-libs-devel" +configure_args="--disable-Werror --with-gtk" +hostmakedepends="pkg-config" +makedepends="python-devel popt-devel avahi-libs-devel gtk+-devel" conflicts="chroot-distcc>=0" conf_files=" /etc/distcc/hosts /etc/distcc/clients.allow" short_desc="Distributed compilation for faster C/C++ builds" -maintainer="pancake " +maintainer="Juan RP " homepage="http://code.google.com/p/distcc" license="GPL-2" distfiles="http://distcc.googlecode.com/files/${pkgname}-${version}.tar.bz2" @@ -32,6 +33,16 @@ post_install() { done } +distcc-gtk_package() { + depends="distcc-${version}_${revision}" + short_desc+=" - GTK+ monitor" + pkg_install() { + vmove usr/bin/distccmon-gnome + } +} + +if [ -z "$CROSS_BUILD" ]; then + distcc-pump_package() { depends="distcc-${version}_${revision}" short_desc+=" - Pump mode support files" @@ -44,3 +55,5 @@ distcc-pump_package() { vmove usr/share/doc/distcc/README.pump } } + +fi # !CROSS_BUILD