diff options
Diffstat (limited to 'packages/sys-devel/distcc/distcc-scm.exheres-0')
-rw-r--r-- | packages/sys-devel/distcc/distcc-scm.exheres-0 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/sys-devel/distcc/distcc-scm.exheres-0 b/packages/sys-devel/distcc/distcc-scm.exheres-0 new file mode 100644 index 0000000..1af0644 --- /dev/null +++ b/packages/sys-devel/distcc/distcc-scm.exheres-0 @@ -0,0 +1,53 @@ +DOWNLOADS="" + +SCM_REPOSITORY="https://github.com/distcc/distcc.git" + +require scm-git +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 1.12 1.11 ] need_libtool=false ] + +SUMMARY="Distribute compilation of C code across several machines on a network" +DESCRIPTION="" +SLOT="0" +HOMEPAGE="http://distcc.org/" +PLATFORMS="~amd64 ~x86" + +MYOPTIONS=" + gnome + gtk + hardened + ipv6 + xinetd + zeroconf +" + +DEPENDENCIES=" + build+run: + dev-libs/popt + gnome? ( + gnome-platform/libgnome:2 + gnome-platform/libgnomeui:2 + x11-libs/pango + x11-libs/gtk+:2 + ) +" + + +src_prepare() { + expatch "${FILES}/${PN}-3.0-xinetd.patch" + expatch "${FILES}/${PN}-3.2_rc1-socks5.patch" + option hardened && expatch "${FILES}/distcc-hardened.patch" + default_src_prepare + autotools_src_prepare +} + +src_configure() { + local myconf="--disable-Werror" + option ipv6 && myconf="${myconf} --enable-rfc2553" + econf \ + --disable-auth \ + $(option_with gtk) \ + $(option_with gnome) \ + $(option_with zeroconf avahi) \ + ${myconf} +} + |