aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-27 14:50:18 +0100
committerMike McQuaid2015-01-28 14:15:18 +0000
commit18501e30a1d0a3b7f757c43afbc46349f38f0292 (patch)
tree57bd52ce7aa73bd14b6f9dce73231c2b28a027df
parent4e41304ec05f857818fe803e64bf3bcb32f4d4bf (diff)
downloadhomebrew-18501e30a1d0a3b7f757c43afbc46349f38f0292.tar.bz2
mpssh 1.3.3
Closes #36276. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/mpssh.rb22
1 files changed, 14 insertions, 8 deletions
diff --git a/Library/Formula/mpssh.rb b/Library/Formula/mpssh.rb
index d7fc890d6..3e3544aa8 100644
--- a/Library/Formula/mpssh.rb
+++ b/Library/Formula/mpssh.rb
@@ -1,14 +1,20 @@
-require 'formula'
-
class Mpssh < Formula
- homepage 'https://github.com/ndenev/mpssh'
- url 'https://github.com/ndenev/mpssh/archive/1.3.1.tar.gz'
- sha1 'c9ae08c1449962a0585e9cbf5e6174581912a053'
+ homepage "https://github.com/ndenev/mpssh"
+ url "https://github.com/ndenev/mpssh/archive/1.3.3.tar.gz"
+ sha1 "ba11dfe7607cac3d47f1c86db236a2e440700ce7"
+ head "https://github.com/ndenev/mpssh.git"
+
+ stable do
+ patch do
+ # don't install binaries as root (upstream PR merged in HEAD)
+ url "https://github.com/bfontaine/mpssh/commit/3cbb868b6fdf8dff9ab86868510c0455ad1ec1b3.diff"
+ sha1 "745b6d07bc479a2d4d64d71904342d76c52fa8ab"
+ end
+ end
def install
- system "make", "CC=#{ENV.cc}"
- bin.install "mpssh"
- man1.install "mpssh.man" => "mpssh.1"
+ system "make", "install", "CC=#{ENV.cc}", "BIN=#{bin}"
+ man1.install "mpssh.1"
end
test do