homebrew-core/Formula/otx.rb
Charlie Sharpsteen 1a42f893ab XCodeDependency: Things that call xcodebuild
Anything that calls `xcodebuild` needs a full install of XCode.app. Two
formulae ommitted from this patch:

  - `fuse4x_kext`: Everything that depends on the kernel extension can be
    compiled by the CLT. Therefore, this formula is bottled and XCode is only
    needed to produce the bottles.

  - `graphviz`: XCode is only used to create GraphViz.app which is not used by
    any of the things which depend on `graphviz`. Creating the app should be
    made into an option.
2012-08-24 19:38:04 -07:00

15 lines
351 B
Ruby

require 'formula'
class Otx < Formula
homepage 'http://otx.osxninja.com/'
head 'http://otx.osxninja.com/builds/trunk/', :using => :svn
depends_on :xcode # For working xcodebuild.
def install
system 'xcodebuild SYMROOT=build'
build = buildpath/'build/Release'
bin.install build+"otx"
prefix.install build+"otx.app"
end
end