2010-02-16 14:10:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class ClassDump < Formula
|
2013-11-27 21:59:18 +00:00
|
|
|
homepage 'http://stevenygard.com/projects/class-dump/'
|
2013-08-07 17:16:36 +00:00
|
|
|
head 'https://github.com/nygard/class-dump.git'
|
2013-11-27 21:59:18 +00:00
|
|
|
url 'https://github.com/nygard/class-dump/archive/3.5.tar.gz'
|
|
|
|
sha1 'c343bec63878161b02c956f49c9c1c8d989b4b5a'
|
2013-09-25 14:58:12 +00:00
|
|
|
|
2014-05-30 23:03:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "f87501bf78ff05444c12347d874a81d9b87445dc" => :mavericks
|
|
|
|
end
|
|
|
|
|
2013-11-27 21:59:18 +00:00
|
|
|
depends_on :macos => :mavericks
|
2014-05-30 20:41:18 +00:00
|
|
|
depends_on :xcode => :build
|
2012-08-08 11:52:07 +00:00
|
|
|
|
2010-02-16 14:10:42 +00:00
|
|
|
def install
|
2014-02-28 03:47:38 +00:00
|
|
|
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
|
2013-09-25 14:58:12 +00:00
|
|
|
bin.install "build/Release/class-dump"
|
2010-02-16 14:10:42 +00:00
|
|
|
end
|
|
|
|
end
|