aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/afsctool.rb
blob: d2acd095e33300c6114a3016d0b9990cefbe32bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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