homebrew-core/Formula/libofx.rb
2017-09-25 02:03:54 -07:00

24 lines
852 B
Ruby

class Libofx < Formula
desc "Library to support OFX command responses"
homepage "https://libofx.sourceforge.io"
url "https://downloads.sourceforge.net/project/libofx/libofx/libofx-0.9.12.tar.gz"
sha256 "c15fa062fa11e759eb6d8c7842191db2185ee1b221a3f75e9650e2849d7b7373"
bottle do
sha256 "b682be169269451309ccc7827782a66489e8cf3c9b1793a6b03aa51fd1a943e6" => :high_sierra
sha256 "74ccac1d72a7c16eb296c19ea7396f504ab7428aa0b302a84629cd00ef64d6ac" => :sierra
sha256 "1e5b91a3e74e5bf3f8ae5ac577a0ad1c81c679a328abee6770b9671fd678456d" => :el_capitan
end
depends_on "open-sp"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_equal "ofxdump #{version}", shell_output("#{bin}/ofxdump -V").chomp
end
end