SGA 0.9.35
Closes Homebrew/homebrew#15514. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
3db8e0784a
commit
96e5c46f9a
1 changed files with 13 additions and 4 deletions
|
@ -2,20 +2,29 @@ require 'formula'
|
||||||
|
|
||||||
class Sga < Formula
|
class Sga < Formula
|
||||||
homepage 'https://github.com/jts/sga'
|
homepage 'https://github.com/jts/sga'
|
||||||
url 'https://github.com/jts/sga/tarball/v0.9.19'
|
url 'https://github.com/jts/sga/tarball/v0.9.35'
|
||||||
sha1 '3f33b708ec930335045ab2a25de291a978f1b875'
|
sha1 'e505f46fc6ba0e991096d7d9a9d50d37c94e4d4c'
|
||||||
|
|
||||||
head 'https://github.com/jts/sga.git'
|
head 'https://github.com/jts/sga.git'
|
||||||
|
|
||||||
|
depends_on :autoconf => :build
|
||||||
|
depends_on :automake => :build
|
||||||
# Only header files are used, so :build is appropriate
|
# Only header files are used, so :build is appropriate
|
||||||
depends_on 'google-sparsehash' => :build
|
depends_on 'google-sparsehash' => :build
|
||||||
depends_on 'bamtools'
|
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
|
def install
|
||||||
chdir 'src' do
|
cd 'src' do
|
||||||
system "./autogen.sh"
|
system "./autogen.sh"
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}", "--with-bamtools=/usr/local"
|
"--prefix=#{prefix}",
|
||||||
|
"--with-bamtools=#{HOMEBREW_PREFIX}"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue