homebrew-core/Formula/ta-lib.rb
2012-09-03 11:36:42 -07:00

18 lines
504 B
Ruby

require 'formula'
class TaLib < Formula
homepage 'http://ta-lib.org/index.html'
url 'http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz'
sha1 'b326b91e79ca1e569e95aad91e87a38640dd5f1b'
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