Closes Homebrew/homebrew#40285.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Luca 2015-06-02 00:19:44 +02:00 committed by Dominyk Tiller
parent 5545f02a19
commit 4c09cca101

View file

@ -2,15 +2,8 @@ require "formula"
class Ndpi < Formula
homepage "http://www.ntop.org/products/ndpi/"
url "https://downloads.sourceforge.net/project/ntop/nDPI/libndpi-1.5.1.tar.gz"
sha1 "0a6ed585545ab6611f3f0ac9efd9eb36bb5481dd"
bottle do
cellar :any
sha1 "81793f54b751d220e7f2bd2389f48e975a84c153" => :mavericks
sha1 "2384472ca14acbfa1e8be322f8ed0cd00b7cf608" => :mountain_lion
sha1 "b5e612452ecad91acecb4692b2b7fd24ada70b21" => :lion
end
url "https://downloads.sourceforge.net/project/ntop/nDPI/nDPI-1.6.tar.gz"
sha1 "60a4969bb456293dea8a847049cfb6cadeaf9c10"
depends_on "autoconf" => :build
depends_on "automake" => :build
@ -19,6 +12,7 @@ class Ndpi < Formula
depends_on "json-c"
def install
system "./autogen.sh"
system "./configure","--prefix=#{prefix}"
system "make"
system "make", "install"