aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorUri Laserson2011-01-18 12:04:51 -0500
committerAdam Vandenberg2011-01-18 09:56:03 -0800
commitb8771541976f61d3acf5094f121a31e8be822bfb (patch)
treea5761050f6179e925309fafca018a959a4adab4a /Library
parent03eff409125f8e6abccc057d94032179b07612dc (diff)
downloadhomebrew-b8771541976f61d3acf5094f121a31e8be822bfb.tar.bz2
Added formula for unafold
unafold is an extremely popular tool for computing secondary structures of nucleic acids, and it's a standard part of the bioinformatics repertoire. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/unafold.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/unafold.rb b/Library/Formula/unafold.rb
new file mode 100644
index 000000000..75dea4098
--- /dev/null
+++ b/Library/Formula/unafold.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Unafold <Formula
+ url 'http://dinamelt.bioinfo.rpi.edu/download/unafold-3.8.tar.gz'
+ homepage 'http://dinamelt.bioinfo.rpi.edu/unafold/'
+ md5 'c1d473c1c4685b7ded51979d8fe4ce0b'
+
+ depends_on 'gd'
+ depends_on 'gnuplot'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end