2016-08-18 15:44:04 +00:00
|
|
|
class Feedgnuplot < Formula
|
|
|
|
desc "Tool to plot realtime and stored data from the command-line."
|
|
|
|
homepage "https://github.com/dkogan/feedgnuplot"
|
|
|
|
url "https://github.com/dkogan/feedgnuplot/archive/v1.38.tar.gz"
|
|
|
|
sha256 "8470129f4de9a663702035f15f098766268044bd0052f2a4de5d662990c72d03"
|
|
|
|
|
2016-08-19 21:35:08 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-09-29 04:09:49 +00:00
|
|
|
sha256 "9d7cd15740fdb0f57cd0d27eec62e9ae9cda58aa71f4af1f4af182f233c7f0fe" => :sierra
|
2016-08-19 21:35:08 +00:00
|
|
|
sha256 "8295c04f9a173025128d3df9e62ac84fbd5bce8d811580cdd8f0a6701b59866b" => :el_capitan
|
|
|
|
sha256 "623969daaaa37d0fd141446a0925759a865ab8131152537d7e4918e976127d99" => :yosemite
|
|
|
|
sha256 "fe66e806afeee86bf0e79929b9100db42ffef94421c7ad54248a4a241ffc2695" => :mavericks
|
|
|
|
end
|
|
|
|
|
2016-08-18 15:44:04 +00:00
|
|
|
depends_on "gnuplot"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "perl", "Makefile.PL", "prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-08-21 13:26:50 +00:00
|
|
|
pipe_output("#{bin}/feedgnuplot --terminal 'dumb 80,20' --exit", "seq 5", 0)
|
2016-08-18 15:44:04 +00:00
|
|
|
end
|
|
|
|
end
|