squashfs: style nits
This commit is contained in:
parent
15bb4533f6
commit
e9c5fa430e
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue