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
|
|
|
|
sha1 "0032ffd126903008825b9f3d1d7a6a261da8411e" => :yosemite
|
|
|
|
sha1 "fa0639c0b04a59327078f3c56fd416530ecf48ee" => :mavericks
|
|
|
|
sha1 "4cb087d1b5b153e22cf726c6e986615620551273" => :mountain_lion
|
|
|
|
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
|