homebrew-core/Formula/ta-lib.rb

19 lines
495 B
Ruby
Raw Normal View History

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