2010-02-11 22:33:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tcpflow < Formula
|
2012-04-20 12:18:18 +00:00
|
|
|
homepage 'https://github.com/simsong/tcpflow'
|
2014-01-13 21:42:38 +00:00
|
|
|
url 'http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-1.4.4.tar.gz'
|
|
|
|
sha1 'e4bc5ad08a81a39943bd1c799edefcdee09de784'
|
2013-09-22 01:47:44 +00:00
|
|
|
|
|
|
|
head do
|
|
|
|
url 'https://github.com/simsong/tcpflow.git'
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on :autoconf
|
2013-09-22 01:47:44 +00:00
|
|
|
depends_on :automake
|
2013-09-27 19:17:27 +00:00
|
|
|
depends_on :libtool
|
2012-07-17 16:37:43 +00:00
|
|
|
end
|
2010-04-19 01:06:07 +00:00
|
|
|
|
2013-11-18 13:07:08 +00:00
|
|
|
depends_on 'boost' => :build
|
|
|
|
|
2012-07-17 16:37:43 +00:00
|
|
|
def install
|
2013-03-30 15:49:48 +00:00
|
|
|
system "bash", "./bootstrap.sh" if build.head?
|
2012-04-20 12:18:18 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-03-18 03:44:36 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-02-11 22:33:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|