aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAustin G. Davis-Richardson2011-07-22 11:41:42 -0400
committerAdam Vandenberg2011-08-12 12:20:33 -0700
commit32d87affb25a9b8429d0602b8405de8b4f459a3d (patch)
tree296ace2d6dee11a7d8f8ff38c9452b40bd5775c2 /Library
parent1d79d0c3cadfcc2d15f5d7015efccecd6c5a2daa (diff)
downloadhomebrew-32d87affb25a9b8429d0602b8405de8b4f459a3d.tar.bz2
Velvet 1.1.05
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/velvet.rb35
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/velvet.rb b/Library/Formula/velvet.rb
new file mode 100644
index 000000000..1b52f57cf
--- /dev/null
+++ b/Library/Formula/velvet.rb
@@ -0,0 +1,35 @@
+require 'formula'
+
+class Velvet < Formula
+ url 'https://github.com/dzerbino/velvet/tarball/b19ee2d5a180c745a6b44fd0d27c3d36dd80a7a9'
+ homepage 'http://www.ebi.ac.uk/~zerbino/velvet/'
+ md5 '8772b8c2c8071dc62541bc969bcd4490'
+ version '1.1.05'
+
+ head 'https://github.com/dzerbino/velvet.git', :using => :git
+
+ def patches
+ # Makefile recommends uncommenting a line for compiling on Mac OS X
+ DATA
+ end
+
+ def install
+ 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