mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
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.
16 lines
351 B
Ruby
16 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
|