aboutsummaryrefslogtreecommitdiff
path: root/community/squashfs-tools-ng/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-09 22:47:59 +0300
committerCem Keylan <cem@ckyln.com>2021-08-09 22:47:59 +0300
commit7277b9c2d8e10e2764d1f2a29cbe4f8b41424ece (patch)
treeafc1da9b8d99e9fa6705ca90374c68e12e79ba07 /community/squashfs-tools-ng/build
parent286e904c024c66f4db94371bb31204c74bc235ef (diff)
downloadrepository-7277b9c2d8e10e2764d1f2a29cbe4f8b41424ece.tar.gz
squashfs-tools-ng: move to community
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