aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpflow.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb
index d5de90da3..71b53ee4b 100644
--- a/Library/Formula/tcpflow.rb
+++ b/Library/Formula/tcpflow.rb
@@ -4,8 +4,10 @@ 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 'https://github.com/simsong/tcpflow.git'
depends_on :libtool
+ depends_on :automake if build.head?
def copy_libtool_files!
if not MacOS::Xcode.provides_autotools?
@@ -21,6 +23,7 @@ class Tcpflow < Formula
def install
copy_libtool_files!
+ system "bash", "./bootstrap.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"