require 'formula' class Chmox < Formula head 'cvs://:pserver:anonymous@chmox.cvs.sourceforge.net:/cvsroot/chmox:Sources' homepage 'http://chmox.sourceforge.net' depends_on :xcode # For working xcodebuild. def install system "xcodebuild SYMROOT=build" prefix.install "build/Default/Chmox.app" end def caveats; <<-EOS.undent Chmox.app installed to: #{prefix} Use \"brew linkapps\" to symlink into ~/Applications. EOS end end