summaryrefslogtreecommitdiff
path: root/repo/distcc/distcc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/distcc/distcc.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/distcc/distcc.xibuild')
-rw-r--r--repo/distcc/distcc.xibuild34
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
+}