require 'formula' class Otx :svn homepage 'http://otx.osxninja.com/' def install system 'xcodebuild' build = Pathname.getwd + 'build/Release' bin.install build+"otx" prefix.install build+"otx.app" end end