homebrew-core/Formula/afsctool.rb
Konrad Zieliński d43adc65eb New formula: afsctool
Utility that provides in place HFS+ compression/decompression.

It can create huge savings – try it on /Developer – it shrinks it by 1.3 GB.

sudo afsctool -cv /Developer

http://forums.macrumors.com/showthread.php?t=780570
http://www.macosxhints.com/article.php?story=20090902223042255
http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/3

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-29 11:09:04 -07:00

16 lines
434 B
Ruby

require 'formula'
class Afsctool <Formula
url 'http://web.me.com/brkirch/afsctool_34.zip'
homepage 'http://web.me.com/brkirch/brkirchs_Software/afsctool/afsctool.html'
md5 'd0f2b79676c0f3d8c22e95fcf859a05f'
version '1.6.4'
def install
ENV.fast
Dir.chdir "afsctool_34" do
system "#{ENV['CC']} #{ENV['CFLAGS']} -lz -framework CoreServices -o afsctool afsctool.c"
bin.install 'afsctool'
end
end
end