1a42f893ab
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.
20 lines
467 B
Ruby
20 lines
467 B
Ruby
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
|