aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJannis Leidel2014-05-28 10:43:51 +0200
committerAdam Vandenberg2014-05-31 13:41:28 -0700
commit93009fa381705cc8540f070446d24c829221246b (patch)
tree72de79bcc6f8bfc3792d3b7b15a7a75a77026932 /Library/Formula
parentc6d35b4d47fd2ac2cea8b83c2fd49ddf66a82fd7 (diff)
downloadhomebrew-93009fa381705cc8540f070446d24c829221246b.tar.bz2
known_hosts 0.0.4
Closes #29666. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/known_hosts.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/known_hosts.rb b/Library/Formula/known_hosts.rb
new file mode 100644
index 000000000..3979b8ba1
--- /dev/null
+++ b/Library/Formula/known_hosts.rb
@@ -0,0 +1,15 @@
+require "formula"
+
+class KnownHosts < Formula
+ homepage "https://github.com/markmcconachie/known_hosts"
+ url "https://github.com/markmcconachie/known_hosts/archive/0.0.4.tar.gz"
+ sha1 "72edc388949e761932f05815fcd6fda2224ccdd4"
+
+ def install
+ system "make", "PREFIX=#{prefix}", "install"
+ end
+
+ test do
+ system "#{bin}/known_hosts version"
+ end
+end