diff options
| author | Trevor Wennblom | 2012-02-04 01:10:09 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-04 08:12:36 -0800 |
| commit | ee2f5ae2284e7a3002f17653c0cd5f250558eec2 (patch) | |
| tree | cabeb9cdb5600a0b0671a6495939b48b2bdf96e5 | |
| parent | b0e537935e91e81d008709b94f0af438f601333b (diff) | |
| download | homebrew-ee2f5ae2284e7a3002f17653c0cd5f250558eec2.tar.bz2 | |
velvet 1.2.03
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/velvet.rb | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/Library/Formula/velvet.rb b/Library/Formula/velvet.rb index 1b52f57cf..c77b0b990 100644 --- a/Library/Formula/velvet.rb +++ b/Library/Formula/velvet.rb @@ -1,35 +1,18 @@ require 'formula' class Velvet < Formula - url 'https://github.com/dzerbino/velvet/tarball/b19ee2d5a180c745a6b44fd0d27c3d36dd80a7a9' + url 'http://www.ebi.ac.uk/~zerbino/velvet/velvet_1.2.03.tgz' homepage 'http://www.ebi.ac.uk/~zerbino/velvet/' - md5 '8772b8c2c8071dc62541bc969bcd4490' - version '1.1.05' + md5 'ed1eaea940eff649bc8031f2cc7b78b5' - head 'https://github.com/dzerbino/velvet.git', :using => :git - - def patches - # Makefile recommends uncommenting a line for compiling on Mac OS X - DATA - end + head 'https://github.com/dzerbino/velvet.git' def install + inreplace 'Makefile' do |s| + # recommended in Makefile for compiling on Mac OS X + s.change_make_var! "CFLAGS", "-Wall -m64" + end system "make velveth velvetg OPENMP=1 MAXKMERLENGTH=1 LONGSEQUENCES=1" bin.install ['velveth', 'velvetg'] end end - -__END__ -diff --git a/Makefile b/Makefile -index a8ca8c0..16fb62a 100644 ---- a/Makefile -+++ b/Makefile -@@ -8,7 +8,7 @@ CATEGORIES=2 - DEF = -D MAXKMERLENGTH=$(MAXKMERLENGTH) -D CATEGORIES=$(CATEGORIES) - - # Mac OS users: uncomment the following lines --# CFLAGS = -Wall -m64 -+CFLAGS = -Wall -m64 - - # Sparc/Solaris users: uncomment the following line - # CFLAGS = -Wall -m64 |
