aboutsummaryrefslogtreecommitdiff
path: root/community/squashfs-tools-ng/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/squashfs-tools-ng/build')
-rwxr-xr-xcommunity/squashfs-tools-ng/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/squashfs-tools-ng/build b/community/squashfs-tools-ng/build
new file mode 100755
index 00000000..e53fc867
--- /dev/null
+++ b/community/squashfs-tools-ng/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+autoreconf -fi
+
+export PKG_CONFIG="pkgconf --static"
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --without-xz \
+ --disable-shared
+
+make CCLD="${CC:-cc} --static"
+make DESTDIR="$1" install