aboutsummaryrefslogtreecommitdiff
path: root/extra/dash/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-18 13:37:54 +0300
committerCem Keylan <cem@ckyln.com>2020-02-18 13:37:54 +0300
commit05f2b73407ec191d28c6f0b1af773b79a5802d59 (patch)
tree1a7a54fee4934e2cfbcfe3994ff68f221dc71e32 /extra/dash/build
parenteab89cad88cd068aaa9052a5c37eba79912f7a97 (diff)
downloadrepository-05f2b73407ec191d28c6f0b1af773b79a5802d59.tar.gz
dash: add to extra
Diffstat (limited to 'extra/dash/build')
-rwxr-xr-xextra/dash/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/dash/build b/extra/dash/build
new file mode 100755
index 00000000..704d598e
--- /dev/null
+++ b/extra/dash/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -static"
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install
+
+ln -s dash "$1/usr/bin/sh"