homebrew-core/Formula/class-dump.rb

16 lines
482 B
Ruby
Raw Normal View History

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