diff --git a/distcc.be0 b/distcc.be0 new file mode 100755 index 000000000..a81ad46ec --- /dev/null +++ b/distcc.be0 @@ -0,0 +1,48 @@ +#!/usr/bin/env beesh + +# BEE_VERSION distcc-3.3.3-0 + +SRCURL[0]="https://github.com/distcc/distcc/releases/download/v${PKGVERSION}/distcc-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +# this 'patch'-operation bootstraps the build, afterwards +# bee happily uses 'autotools' (BEE_BUILDTYPE) +mee_patch_post() { + start_cmd ./autogen.sh +} + +mee_configure() { + # --disable-pump-mode would also dump the python based 'include_server' + bee_configure --without-libiberty --without-avahi --without-gnome --without-gtk +} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} +## by default this may be 'make install DESTDIR="${D}"' + +# avoid that distcc will try figure out which compilers +# are allowed to be called, and set a sane default. +mee_install_post () { + rm -rv ${D}/etc ${D}/usr/sbin + + mkdir -pv ${D}/usr/lib/distcc + for C in c++ cc clang clang++ g++ gcc; do + ln -sv ../../bin/distcc ${D}/usr/lib/distcc/$C + done +} + +