blob: 151d7dc9a9478f79c6dd76aa7ebd378051111558 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | 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
 |