aboutsummaryrefslogtreecommitdiff
path: root/extra/yash/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yash/build')
-rwxr-xr-xextra/yash/build15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/yash/build b/extra/yash/build
new file mode 100755
index 00000000..68d47759
--- /dev/null
+++ b/extra/yash/build
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --enable-help \
+ --enable-history \
+ --disable-nls \
+ --enable-printf \
+ --enable-socket \
+ --enable-lineedit
+
+make
+make DESTDIR="$1" install
+
+ln -sf yash "$1/usr/bin/sh"