aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-07 14:26:17 -0800
committerAdam Vandenberg2010-11-07 14:26:17 -0800
commit5ac6e951c44932a088e1dad1adebe9f5057cdff2 (patch)
treebe8ddb6a4bd943188147d67bdce12137dc33c7cb /Library/Formula
parentc10909e1b5f1037809d978a8bc607f7f83848f90 (diff)
downloadhomebrew-5ac6e951c44932a088e1dad1adebe9f5057cdff2.tar.bz2
szl is Google's compiler for Sawzall
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/szl.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/szl.rb b/Library/Formula/szl.rb
new file mode 100644
index 000000000..91d8c02c9
--- /dev/null
+++ b/Library/Formula/szl.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Szl <Formula
+ url 'http://szl.googlecode.com/files/szl-1.0.tar.gz'
+ homepage 'http://code.google.com/p/szl/'
+ md5 'd25f73b2adf4b92229d8b451685506d1'
+
+ depends_on 'binutils' # For objdump
+ depends_on 'icu4c'
+
+ def install
+ ENV['OBJDUMP'] = "#{HOMEBREW_PREFIX}/bin/gobjdump"
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end