summaryrefslogtreecommitdiff
path: root/homebrew/squashfs/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/squashfs/.make.sh-auto')
-rw-r--r--homebrew/squashfs/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/squashfs/.make.sh-auto b/homebrew/squashfs/.make.sh-auto
new file mode 100644
index 000000000..e214d7e56
--- /dev/null
+++ b/homebrew/squashfs/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+args = %W[EXTRA_CFLAGS=-std=gnu89 LZ4_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZO_DIR=#{Formula["lzo"].opt_prefix} LZO_SUPPORT=1 XATTR_SUPPORT=0 XZ_DIR=#{Formula["xz"].opt_prefix} XZ_SUPPORT=1 ]
+cd "squashfs-tools"
+make *args
+bin.install %w[mksquashfs unsquashfs]