diff options
Diffstat (limited to 'repo/distcc/distcc.xibuild')
-rw-r--r-- | repo/distcc/distcc.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/distcc/distcc.xibuild b/repo/distcc/distcc.xibuild new file mode 100644 index 0000000..f333ed6 --- /dev/null +++ b/repo/distcc/distcc.xibuild @@ -0,0 +1,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 +} |