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"
|
2016-10-29 11:23:23 +00:00
|
|
|
url "https://github.com/dkogan/feedgnuplot/archive/v1.39.tar.gz"
|
|
|
|
sha256 "01ebd4dbbb581569be7fecedfa0d9c0168f95a1dfbe1fc099820e7cf7a31b261"
|
2016-08-18 15:44:04 +00:00
|
|
|
|
2016-08-19 21:35:08 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-10-29 14:27:28 +00:00
|
|
|
sha256 "3ca77c9ff696f75b5c4837c2116e61f73f2e0d5b5426b88c67e8763e1fce4a10" => :sierra
|
|
|
|
sha256 "6966556a04cba4ed5839675595faeceb6265034d544b7cb5123fdd676635d4ac" => :el_capitan
|
|
|
|
sha256 "05b365537624871e498c61c8117ab0954dba3437892e593bbde85e1b4aecf9e5" => :yosemite
|
2016-08-19 21:35:08 +00:00
|
|
|
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
|