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