aboutsummaryrefslogtreecommitdiff
path: root/extra/distcc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-20 22:54:39 +0300
committerCem Keylan <cem@ckyln.com>2020-05-20 22:54:39 +0300
commitd80bed8479f2fe16a532b3690e1cac83b09e945f (patch)
tree91b7879686babef1c3c13542559f1bc496972616 /extra/distcc/build
parenta4df2c59949b48f7c4aec2ac5411d82aad17f179 (diff)
downloadrepository-d80bed8479f2fe16a532b3690e1cac83b09e945f.tar.gz
distcc: add new package at 3.3.3
Diffstat (limited to 'extra/distcc/build')
-rwxr-xr-xextra/distcc/build19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/distcc/build b/extra/distcc/build
new file mode 100755
index 00000000..596108ee
--- /dev/null
+++ b/extra/distcc/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# Running distcc as a server instead of a client
+# requires python to be installed.
+kiss l python >/dev/null 2>&1 || pump=disable
+
+export CFLAGS="$CFLAGS -fcommon"
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --without-libiberty \
+ --without-avahi \
+ --with-included-popt \
+ "--${pump:-enable}-pump-mode"
+
+make
+make DESTDIR="$1" install