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.
15 lines
472 B
Ruby
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
|