homebrew-core/Formula/tcpflow.rb
Alexey Palazhchenko cca1530a6a tcpflow 1.4.2.
Closes Homebrew/homebrew#24431.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-18 13:31:33 +00:00

24 lines
643 B
Ruby

require 'formula'
class Tcpflow < Formula
homepage 'https://github.com/simsong/tcpflow'
url 'http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-1.4.2.tar.gz'
sha1 '69c291b4248300ff5caae031a7fa56b533e49779'
head do
url 'https://github.com/simsong/tcpflow.git'
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
depends_on 'boost' => :build
def install
system "bash", "./bootstrap.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end