homebrew-core/Formula/fex.rb
2015-10-17 10:17:08 +02:00

21 lines
658 B
Ruby

class Fex < Formula
desc "Powerful field extraction tool"
homepage "https://www.semicomplete.com/projects/fex/"
url "https://semicomplete.googlecode.com/files/fex-2.0.0.tar.gz"
sha256 "03043c8eac74f43173068a2e693b6f73d5b45f453a063e6da11f34455d0e374e"
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