homebrew-core/Formula/mogenerator.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
472 B
Ruby

require 'formula'
class Mogenerator < Formula
url 'https://github.com/rentzsch/mogenerator/tarball/1.26'
homepage 'http://rentzsch.github.com/mogenerator/'
md5 'cc761752cc581188e1065bd0919ad4c3'
head "https://github.com/rentzsch/mogenerator.git"
depends_on :xcode # For working xcodebuild.
def install
system "xcodebuild -target mogenerator -configuration Release SYMROOT=symroot OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"
end
end