diff options
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 ++ |
