Skip to content

Commit

Permalink
Merge pull request #1517 from mariux64/add-distcc-3.3.3
Browse files Browse the repository at this point in the history
distcc: Add version 3.3.3
  • Loading branch information
thomas authored Dec 4, 2019
2 parents a1e3ddf + d78360a commit 934642f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions distcc.be0
Original file line number Diff line number Diff line change
@@ -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
}


0 comments on commit 934642f

Please sign in to comment.