2010-07-28 12:22:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Afsctool < Formula
|
2010-07-28 12:22:41 +00:00
|
|
|
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
|
2010-08-10 15:05:31 +00:00
|
|
|
system "#{ENV.cc} #{ENV.cflags} -lz -framework CoreServices -o afsctool afsctool.c"
|
2010-07-28 12:22:41 +00:00
|
|
|
bin.install 'afsctool'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|