2011-03-10 05:11:03 +00:00
|
|
|
class Fsh < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Provides remote command execution"
|
2015-02-23 09:26:03 +00:00
|
|
|
homepage "https://www.lysator.liu.se/fsh/"
|
|
|
|
url "https://www.lysator.liu.se/fsh/fsh-1.2.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "9600882648966272c264cf3f1c41c11c91e704f473af43d8d4e0ac5850298826"
|
2010-01-05 08:39:07 +00:00
|
|
|
|
2015-02-22 08:42:34 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "8a49ad906b045a293259c199fd5d1737894099c487b1bfc83fb60d18acf065ac" => :yosemite
|
|
|
|
sha256 "ed852d51f5a0a4024d4a195c9cffd604758a11a115620a3da0975b541c912770" => :mavericks
|
|
|
|
sha256 "2ddff507244ca8dc352c39d5372f13cfe42c04e19d7b1d4832ecafb58fc8d00b" => :mountain_lion
|
2015-02-22 08:42:34 +00:00
|
|
|
end
|
|
|
|
|
2010-01-05 08:39:07 +00:00
|
|
|
def install
|
|
|
|
# FCNTL was deprecated and needs to be changed to fcntl
|
2015-02-21 10:18:32 +00:00
|
|
|
inreplace "fshcompat.py", "FCNTL", "fcntl"
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2012-05-10 23:38:53 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--infodir=#{info}"
|
2015-02-21 10:18:32 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
2014-01-04 13:05:39 +00:00
|
|
|
|
2015-02-21 10:18:32 +00:00
|
|
|
test do
|
|
|
|
system "fsh", "-V"
|
2010-01-05 08:39:07 +00:00
|
|
|
end
|
|
|
|
end
|