Permalink
Newer
100755
48 lines (35 sloc)
1.01 KB
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION distcc-3.3.3-0
4
5
SRCURL[0]="https://github.com/distcc/distcc/releases/download/v${PKGVERSION}/distcc-${PKGVERSION}.tar.gz"
6
7
# PATCHURL+=()
8
9
#mee_extract() {
10
# bee_extract "${@}"
11
#}
12
13
#mee_patch() {
14
# bee_patch "${@}"
15
#}
16
17
# this 'patch'-operation bootstraps the build, afterwards
18
# bee happily uses 'autotools' (BEE_BUILDTYPE)
19
mee_patch_post() {
20
start_cmd ./autogen.sh
21
}
22
23
mee_configure() {
24
# --disable-pump-mode would also dump the python based 'include_server'
25
bee_configure --without-libiberty --without-avahi --without-gnome --without-gtk
26
}
27
28
#mee_build() {
29
# bee_build
30
#}
31
32
#mee_install() {
33
# bee_install
34
#}
35
## by default this may be 'make install DESTDIR="${D}"'
36
37
# avoid that distcc will try figure out which compilers
38
# are allowed to be called, and set a sane default.
39
mee_install_post () {
40
rm -rv ${D}/etc ${D}/usr/sbin
41
42
mkdir -pv ${D}/usr/lib/distcc
43
for C in c++ cc clang clang++ g++ gcc; do
44
ln -sv ../../bin/distcc ${D}/usr/lib/distcc/$C
45
done
46
}
47
48