aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Zieliński2010-07-28 14:22:41 +0200
committerAdam Vandenberg2010-07-29 11:09:04 -0700
commitb598ecd631eac5873e38cd2522004f383cbb980d (patch)
tree2364a712eb0b91534e4b0d75ad4ddbd8572e8526
parent16c86c24231b59067db3865ff1aad67afc7ae135 (diff)
downloadhomebrew-b598ecd631eac5873e38cd2522004f383cbb980d.tar.bz2
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>
-rw-r--r--Library/Formula/afsctool.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/afsctool.rb b/Library/Formula/afsctool.rb
new file mode 100644
index 000000000..6d23c5744
--- /dev/null
+++ b/Library/Formula/afsctool.rb
@@ -0,0 +1,16 @@
+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