aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorOleg Palij2015-02-08 18:12:40 +0200
committerMike McQuaid2015-02-09 16:49:31 +0000
commit173c286652c270c6467842b992950ead288b3333 (patch)
tree78bd7c0a0f9dc3956f5543b39d9ed16316e1fd12 /Library
parent02d606d97af8752581d93821a79457a0e1270d9c (diff)
downloadhomebrew-173c286652c270c6467842b992950ead288b3333.tar.bz2
sqtop 2015-02-08 (new formula)
sqtop is a console application to display information about currently active client connections for a Squid proxy in a convenient way. Closes #36655. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sqtop.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/sqtop.rb b/Library/Formula/sqtop.rb
new file mode 100644
index 000000000..59733684d
--- /dev/null
+++ b/Library/Formula/sqtop.rb
@@ -0,0 +1,15 @@
+class Sqtop < Formula
+ homepage "https://github.com/paleg/sqtop"
+ url "https://github.com/paleg/sqtop/archive/v2015-02-08.tar.gz"
+ version "2015-02-08"
+ sha1 "379a97e0190f3da39e2d67096955c40217b39ae5"
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ test do
+ assert_match "#{version}", shell_output("#{bin}/sqtop --help")
+ end
+end