homebrew-core/Formula/mogenerator.rb

24 lines
711 B
Ruby

require 'formula'
class Mogenerator < Formula
homepage 'http://rentzsch.github.io/mogenerator/'
url 'https://github.com/rentzsch/mogenerator/archive/1.28.tar.gz'
sha1 '2c92204c76cbe88091494d0730cf986efab8ef1a'
head 'https://github.com/rentzsch/mogenerator.git'
bottle do
cellar :any
sha1 "6a0c63e99ecae49d70b569b5b4507b8352ada961" => :mavericks
sha1 "abc1bcf2e7d1ebbb3258023f57e082052061a19c" => :mountain_lion
sha1 "fc60b8470f7e5441a599496aa637fd21da83934a" => :lion
end
depends_on :xcode => :build
def install
xcodebuild "-target", "mogenerator", "-configuration", "Release","SYMROOT=symroot", "OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"
end
end