homebrew-core/Formula/fsh.rb

29 lines
848 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"
sha1 "c2f1e923076d368fbb5504dcd1d33c74024b0d1b"
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