diff options
| author | Shaun Jackman | 2012-06-15 10:55:32 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-30 08:50:28 -0700 |
| commit | 20a395e4a1a4cd34ff0ddf41444cdfd7c4f81d82 (patch) | |
| tree | 7e8fd1bf0e518da4f893fe87a4fa90772e589487 /Library/Formula | |
| parent | 730751699731deeb7d0beb582e0471e661c90e9d (diff) | |
| download | homebrew-20a395e4a1a4cd34ff0ddf41444cdfd7c4f81d82.tar.bz2 | |
sga 0.9.19
Closes #12862.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sga.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/sga.rb b/Library/Formula/sga.rb new file mode 100644 index 000000000..253e12867 --- /dev/null +++ b/Library/Formula/sga.rb @@ -0,0 +1,26 @@ +require 'formula' + +class Sga < Formula + homepage 'https://github.com/jts/sga' + url 'https://github.com/jts/sga/tarball/v0.9.19' + sha1 '3f33b708ec930335045ab2a25de291a978f1b875' + + head 'https://github.com/jts/sga.git' + + # Only header files are used, so :build is appropriate + depends_on 'google-sparsehash' => :build + depends_on 'bamtools' + + def install + chdir 'src' do + system "./autogen.sh" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", "--with-bamtools=/usr/local" + system "make install" + end + end + + def test + system "#{bin}/sga", "--version" + end +end |
