aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-09-10 15:26:49 +0100
committerMike McQuaid2014-09-10 15:26:49 +0100
commit9a5e6d42d36b2cedf07f5b4378ff2d3908816a98 (patch)
treeccb0c343d1148d6ea0291d4e542d25ff36da60d2 /Library
parent020a7a3671423e03692226a52867710ae0af60df (diff)
downloadhomebrew-9a5e6d42d36b2cedf07f5b4378ff2d3908816a98.tar.bz2
ntopng 1.2.1
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ntopng.rb32
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/ntopng.rb b/Library/Formula/ntopng.rb
new file mode 100644
index 000000000..7f0c31aa8
--- /dev/null
+++ b/Library/Formula/ntopng.rb
@@ -0,0 +1,32 @@
+require "formula"
+
+class Ntopng < Formula
+ homepage "http://www.ntop.org/products/ntop/"
+ url "https://downloads.sourceforge.net/project/ntop/ntopng/ntopng-1.2.1.tgz"
+ sha1 "e90a8cc045fb4d65d57d029908a9b029d801490c"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "pkg-config" => :build
+ depends_on "libtool" => :build
+ depends_on "json-glib" => :build
+ depends_on "json-c"
+ depends_on "wget" => :build
+ depends_on "rrdtool"
+ depends_on "zeromq" => :build
+ depends_on "luajit" => :build
+ depends_on "gnutls" => :build
+ depends_on "geoip"
+ depends_on "redis"
+
+ def install
+ system "./autogen.sh"
+ system "./configure","--prefix=#{prefix}"
+ system "make"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/ntopng", "-h"
+ end
+end