aboutsummaryrefslogtreecommitdiff
path: root/extra/ntfs-3g/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntfs-3g/build')
-rwxr-xr-xextra/ntfs-3g/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/ntfs-3g/build b/extra/ntfs-3g/build
new file mode 100755
index 00000000..77a29973
--- /dev/null
+++ b/extra/ntfs-3g/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+
+make
+make DESTDIR="$1" install
+
+install -Dm755 "$1/bin/"* -t "$1/usr/bin"
+install -Dm755 "$1/sbin/"* -t "$1/usr/bin"
+
+rm -r "$1/bin" "$1/sbin"