diff options
| author | Shaun Jackman | 2012-02-27 18:31:35 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-22 11:25:37 -0700 |
| commit | 8be4ab69be8ca7bbb044b385d9cbcdba56f974ad (patch) | |
| tree | ffe6ac3434d7f93418687deeb2519bf4a8f05858 | |
| parent | a10a632d7d3290fdc2a25fd09656cb2673edd203 (diff) | |
| download | homebrew-8be4ab69be8ca7bbb044b385d9cbcdba56f974ad.tar.bz2 | |
ABySS 1.3.2
ABySS is a de novo sequence assembler that is designed for short reads
and large genomes.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/abyss.rb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Library/Formula/abyss.rb b/Library/Formula/abyss.rb new file mode 100644 index 000000000..cae435580 --- /dev/null +++ b/Library/Formula/abyss.rb @@ -0,0 +1,50 @@ +require 'formula' + +class Abyss < Formula + homepage 'http://www.bcgsc.ca/platform/bioinfo/software/abyss' + url 'http://www.bcgsc.ca/downloads/abyss/abyss-1.3.2.tar.gz' + md5 'a7551c95f33a0c61cab50bc35db347e4' + + # 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 + depends_on 'open-mpi' if MacOS.lion? + + # strip breaks the ability to read compressed files. + skip_clean 'bin' + + # abyss-overlap does not build with LLVM-GCC, so skip it. See: + # http://lists.apple.com/archives/xcode-users/2011/Oct/msg00241.html + # https://github.com/mxcl/homebrew/pull/10550 + def patches + DATA + end + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + def test + system "#{bin}/ABYSS --version" + end +end + +__END__ +diff --git a/Map/Makefile.in b/Map/Makefile.in +index 7a4e5a8..4dd5dd5 100644 +--- a/Map/Makefile.in ++++ b/Map/Makefile.in +@@ -32,8 +32,7 @@ POST_INSTALL = : + NORMAL_UNINSTALL = : + PRE_UNINSTALL = : + POST_UNINSTALL = : +-bin_PROGRAMS = abyss-index$(EXEEXT) abyss-map$(EXEEXT) \ +- abyss-overlap$(EXEEXT) ++bin_PROGRAMS = abyss-index$(EXEEXT) abyss-map$(EXEEXT) + subdir = Map + DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
