summaryrefslogtreecommitdiff
path: root/repo/devel/distcc/distcc.xibuild
blob: f333ed6ead538b83cfe738a70a08a7a252324b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

MAKEDEPS="python make automake autoconf"
DEPS="gcc python popt musl-obstack"

PKG_VER=3.4
SOURCE=https://github.com/distcc/distcc/releases/download/v$PKG_VER/distcc-$PKG_VER.tar.gz
ADDITIONAL="
    gcc-10.patch
    dcc_gcc_rewrite_fqn-avoid-heap-corruption.patch
    distcc-hardened.patch
"

DESC="Distributed compiler for C, C++ and Objective-C"

prepare () {
    apply_patches
}


build () {
    ./configure --prefix=/usr \
            --without-libiberty \
    		--disable-Werror \
            --without-gtk \


    make
}


package () {
    make DESTDIR=$PKG_DEST install
}