blob: a64f5cba1301d83c1c23ae5fd93cf24b89a9043a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Tcpflow < Formula
homepage 'https://github.com/simsong/tcpflow'
url 'https://github.com/downloads/simsong/tcpflow/tcpflow-1.3.0.tar.gz'
sha1 'fccd0a451bf138e340fc3b55dfc07924c0a811d8'
head do
url 'https://github.com/simsong/tcpflow.git'
depends_on :automake
depends_on :libtool
end
def install
system "bash", "./bootstrap.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end
|