2012-02-28 02:31:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Abyss < Formula
|
|
|
|
homepage 'http://www.bcgsc.ca/platform/bioinfo/software/abyss'
|
2012-05-30 23:35:24 +00:00
|
|
|
url 'http://www.bcgsc.ca/downloads/abyss/abyss-1.3.4.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '763dc423054421829011844ceaa5e18dc43f1ca9'
|
2012-04-25 22:38:48 +00:00
|
|
|
head 'https://github.com/sjackman/abyss.git'
|
2012-02-28 02:31:35 +00:00
|
|
|
|
|
|
|
# Only header files are used from these packages, so :build is appropriate
|
|
|
|
depends_on 'boost' => :build
|
|
|
|
depends_on 'google-sparsehash' => :build
|
|
|
|
|
|
|
|
# Snow Leopard comes with mpi but Lion does not
|
2012-09-05 04:04:01 +00:00
|
|
|
depends_on 'open-mpi' if MacOS.version >= :lion
|
2012-02-28 02:31:35 +00:00
|
|
|
|
|
|
|
# strip breaks the ability to read compressed files.
|
|
|
|
skip_clean 'bin'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/ABYSS", "--version"
|
2012-02-28 02:31:35 +00:00
|
|
|
end
|
|
|
|
end
|