Skip to content

distcc: Add version 3.3.3 #1517

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}