squashfs: style nits

This commit is contained in:
Dominyk Tiller 2016-08-14 03:55:01 +01:00
parent 15bb4533f6
commit e9c5fa430e
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -29,15 +29,20 @@ class Squashfs < Formula
XATTR_SUPPORT=0
EXTRA_CFLAGS=-std=gnu89
LZO_SUPPORT=1
LZO_DIR=#{HOMEBREW_PREFIX}
LZO_DIR=#{Formula["lzo"].opt_prefix}
XZ_SUPPORT=1
XZ_DIR=#{HOMEBREW_PREFIX}
XZ_DIR=#{Formula["xz"].opt_prefix}
]
args << "LZ4_SUPPORT=1" if build.with? "lz4"
cd "squashfs-tools" do
system "make", *args
bin.install %w[mksquashfs unsquashfs]
end
doc.install %w[ACKNOWLEDGEMENTS CHANGES COPYING INSTALL OLD-READMEs PERFORMANCE.README README README-4.3]
doc.install %w[ACKNOWLEDGEMENTS INSTALL OLD-READMEs PERFORMANCE.README README-4.3]
end
test do
assert_match version.to_s, shell_output("#{bin}/unsquashfs -v", 1)
end
end