-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1517 from mariux64/add-distcc-3.3.3
distcc: Add version 3.3.3
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
||
|