homebrew-core/Formula/afsctool.rb
Andrew Janke 17a6d91117 formulae: various audit fixes
Closes Homebrew/homebrew#44616.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-08 05:08:34 +01:00

22 lines
664 B
Ruby

class Afsctool < Formula
desc "Utility for manipulating HFS+ compressed files"
homepage "http://brkirch.wordpress.com/afsctool/"
url "https://docs.google.com/uc?export=download&id=0BwQlnXqL939ZQjBQNEhRQUo0aUk"
version "1.6.4"
sha256 "bb6a84370526af6ec1cee2c1a7199134806e691d1093f4aef060df080cd3866d"
def install
cd "afsctool_34" do
system ENV.cc, ENV.cflags, "-lz",
"-framework", "CoreServices", "-o", "afsctool", "afsctool.c"
bin.install "afsctool"
end
end
test do
path = testpath/"foo"
path.write "some text here."
system "#{bin}/afsctool", "-c", path
system "#{bin}/afsctool", "-v", path
end
end