diff options
| author | Lance Hepler | 2011-11-21 13:21:08 -0800 |
|---|---|---|
| committer | Jack Nagel | 2011-11-26 09:40:22 -0600 |
| commit | 7da9455b85127d8dc4823c33b613a101f420d1c6 (patch) | |
| tree | a6fc921cdba9f6a1371ec332902a02b9a28cba79 /Library/Formula/newick-utils.rb | |
| parent | 01f8941a6bca9707929b2172add66d593c2b3838 (diff) | |
| download | homebrew-7da9455b85127d8dc4823c33b613a101f420d1c6.tar.bz2 | |
New formula: newick-utils
newick-utils is a set of tools for working with Newick-formatted tree
data.
Closes #8717.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/newick-utils.rb')
| -rw-r--r-- | Library/Formula/newick-utils.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/newick-utils.rb b/Library/Formula/newick-utils.rb new file mode 100644 index 000000000..921193d86 --- /dev/null +++ b/Library/Formula/newick-utils.rb @@ -0,0 +1,31 @@ +require 'formula' + +class NewickUtils < Formula + url 'http://cegg.unige.ch/pub/newick-utils-1.5.0.tar.gz' + homepage 'http://cegg.unige.ch/newick_utils' + md5 '5f65b0fe30bf9389297616358f01fac7' + + def patches + # don't bother testing nw_gen, it's known to fail on MacOSX + DATA + end + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make" + system "make check" + system "make install" + end + + def test + system "echo '(B:1,C:2)A;' | nw_display -" + end +end + +__END__ +--- a/tests/test_nw_gen.sh ++++ b/tests/test_nw_gen.sh +@@ -106,0 +107,2 @@ ++pass=TRUE ++ |
