aboutsummaryrefslogtreecommitdiff
path: root/extra/cryptsetup/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cryptsetup/build')
-rwxr-xr-xextra/cryptsetup/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/cryptsetup/build b/extra/cryptsetup/build
new file mode 100755
index 00000000..6e6631df
--- /dev/null
+++ b/extra/cryptsetup/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+machine=$(cc -dumpmachine)
+
+./configure \
+ --prefix=/usr \
+ --build="$machine" \
+ --host="$machine" \
+ --disable-blkid
+
+make
+make DESTDIR="$1" install