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