homebrew-core/Formula/fsh.rb

29 lines
874 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Fsh < Formula
desc "Provides remote command execution"
homepage "https://www.lysator.liu.se/fsh/"
url "https://www.lysator.liu.se/fsh/fsh-1.2.tar.gz"
sha256 "9600882648966272c264cf3f1c41c11c91e704f473af43d8d4e0ac5850298826"
2015-02-22 08:42:34 +00:00
bottle do
cellar :any
sha1 "0032ffd126903008825b9f3d1d7a6a261da8411e" => :yosemite
sha1 "fa0639c0b04a59327078f3c56fd416530ecf48ee" => :mavericks
sha1 "4cb087d1b5b153e22cf726c6e986615620551273" => :mountain_lion
end
def install
# FCNTL was deprecated and needs to be changed to fcntl
inreplace "fshcompat.py", "FCNTL", "fcntl"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--infodir=#{info}"
system "make", "install"
end
2014-01-04 13:05:39 +00:00
test do
system "fsh", "-V"
end
end