distcc: cross build support; new -gtk subpkg with the GTK monitor.

This commit is contained in:
Juan RP 2014-05-24 11:01:14 +02:00
parent bca5986dfa
commit d83ff1a5a2
2 changed files with 17 additions and 3 deletions

1
srcpkgs/distcc-gtk Symbolic link
View file

@ -0,0 +1 @@
distcc

View file

@ -3,14 +3,15 @@ pkgname=distcc
version=3.2rc1 version=3.2rc1
revision=5 revision=5
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-Werror" configure_args="--disable-Werror --with-gtk"
makedepends="pkg-config python-devel popt-devel avahi-libs-devel" hostmakedepends="pkg-config"
makedepends="python-devel popt-devel avahi-libs-devel gtk+-devel"
conflicts="chroot-distcc>=0" conflicts="chroot-distcc>=0"
conf_files=" conf_files="
/etc/distcc/hosts /etc/distcc/hosts
/etc/distcc/clients.allow" /etc/distcc/clients.allow"
short_desc="Distributed compilation for faster C/C++ builds" short_desc="Distributed compilation for faster C/C++ builds"
maintainer="pancake <pancake@nopcode.org>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/distcc" homepage="http://code.google.com/p/distcc"
license="GPL-2" license="GPL-2"
distfiles="http://distcc.googlecode.com/files/${pkgname}-${version}.tar.bz2" distfiles="http://distcc.googlecode.com/files/${pkgname}-${version}.tar.bz2"
@ -32,6 +33,16 @@ post_install() {
done 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() { distcc-pump_package() {
depends="distcc-${version}_${revision}" depends="distcc-${version}_${revision}"
short_desc+=" - Pump mode support files" short_desc+=" - Pump mode support files"
@ -44,3 +55,5 @@ distcc-pump_package() {
vmove usr/share/doc/distcc/README.pump vmove usr/share/doc/distcc/README.pump
} }
} }
fi # !CROSS_BUILD