diff options
| author | Shaun Jackman | 2012-10-17 10:51:07 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-27 19:23:46 -0700 |
| commit | 9c851e822f9b6e6842a355ba1f14f5c23bbd0f2c (patch) | |
| tree | 9c29821a44bf8c6319e2b042aa7d4cc25925624d /Library/Formula | |
| parent | 96fe195d5a9a44e8421271a8d679e1dde0e2f155 (diff) | |
| download | homebrew-9c851e822f9b6e6842a355ba1f14f5c23bbd0f2c.tar.bz2 | |
SGA 0.9.35
Closes #15514.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sga.rb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Library/Formula/sga.rb b/Library/Formula/sga.rb index 253e12867..cb20dfa48 100644 --- a/Library/Formula/sga.rb +++ b/Library/Formula/sga.rb @@ -2,20 +2,29 @@ require 'formula' class Sga < Formula homepage 'https://github.com/jts/sga' - url 'https://github.com/jts/sga/tarball/v0.9.19' - sha1 '3f33b708ec930335045ab2a25de291a978f1b875' + url 'https://github.com/jts/sga/tarball/v0.9.35' + sha1 'e505f46fc6ba0e991096d7d9a9d50d37c94e4d4c' head 'https://github.com/jts/sga.git' + depends_on :autoconf => :build + depends_on :automake => :build # Only header files are used, so :build is appropriate depends_on 'google-sparsehash' => :build depends_on 'bamtools' + # Fix two compiler errors. Both fixed upstream. + def patches + ['http://github.com/jts/sga/commit/b4efb323ed.diff', + 'https://github.com/jts/sga/commit/dfe74633fb.diff'] unless build.head? + end + def install - chdir 'src' do + cd 'src' do system "./autogen.sh" system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", "--with-bamtools=/usr/local" + "--prefix=#{prefix}", + "--with-bamtools=#{HOMEBREW_PREFIX}" system "make install" end end |
