homebrew-core/Formula/ta-lib.rb
Ric Pruss 0ee0f676f1 ta-lib: use full regression test, remove comment
Closes Homebrew/homebrew#9483.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-07 23:28:53 -06:00

18 lines
497 B
Ruby

require 'formula'
class TaLib < Formula
url 'http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz'
homepage 'http://ta-lib.org/index.html'
md5 '308e53b9644213fc29262f36b9d3d9b9'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
bin.install ['src/tools/ta_regtest/.libs/ta_regtest']
end
def test
system "#{bin}/ta_regtest"
end
end