homebrew-core/Formula/fex.rb

22 lines
631 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Fex < Formula
desc "Powerful field extraction tool"
homepage "http://www.semicomplete.com/projects/fex/"
url "https://semicomplete.googlecode.com/files/fex-2.0.0.tar.gz"
sha1 "014938009ffe0b2ec3d1293154a22e4a40fee4a9"
2015-02-16 11:15:03 +00:00
bottle do
cellar :any
sha1 "1ae0b6d8788ede53263fc5e0dea922444bab606b" => :yosemite
sha1 "2759dee42d85788ba2dc04bdf6f85ad3f9eecd87" => :mavericks
sha1 "5abfa033f2dbe1725633a0d4390ac6e558982187" => :mountain_lion
end
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
assert_equal "foo", pipe_output("#{bin}/fex 1", "foo bar", 0).chomp
end
end