2010-02-16 14:10:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class ClassDump < Formula
|
2010-02-16 14:10:42 +00:00
|
|
|
homepage 'http://www.codethecode.com/projects/class-dump/'
|
2013-08-07 17:16:36 +00:00
|
|
|
head 'https://github.com/nygard/class-dump.git'
|
2013-09-25 14:58:12 +00:00
|
|
|
url 'https://github.com/nygard/class-dump/archive/3.4.tar.gz'
|
|
|
|
sha1 'd8c16e94ec82979fb0e68503a217bd0c2cd5008f'
|
|
|
|
|
|
|
|
depends_on :macos => :lion
|
2012-08-08 11:52:07 +00:00
|
|
|
|
2010-02-16 14:10:42 +00:00
|
|
|
def install
|
2013-09-25 14:58:12 +00:00
|
|
|
system "xcodebuild", "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
|
|
|
|
bin.install "build/Release/class-dump"
|
2010-02-16 14:10:42 +00:00
|
|
|
end
|
|
|
|
end
|