aboutsummaryrefslogtreecommitdiff
path: root/extra/cvs/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cvs/build')
-rwxr-xr-xextra/cvs/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/cvs/build b/extra/cvs/build
new file mode 100755
index 00000000..79ff6467
--- /dev/null
+++ b/extra/cvs/build
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-editor=/usr/bin/vi \
+ --with-external-zlib
+
+make
+make -j1 DESTDIR="$1" install
+
+# Remove unsupported/untested cvs junk
+rm -r "$1/usr/share/cvs"