Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
flow-tools 0.68.5.1
Browse files Browse the repository at this point in the history
Closes #19848.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
mjschultz authored and adamv committed May 16, 2013
1 parent 909147c commit c348225
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Library/Formula/flow-tools.rb
@@ -0,0 +1,23 @@
require 'formula'

class FlowTools < Formula
homepage 'https://code.google.com/p/flow-tools/'
url 'https://flow-tools.googlecode.com/files/flow-tools-0.68.5.1.tar.bz2'
sha1 '4a843aada631650e3777a9b1eeb4ec46562cf0d0'

def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end

test do
# Generate test flow data with 1000 flows
system "#{bin}/flow-gen > test.flow"
# Test that the test flows work with some flow- programs
system "#{bin}/flow-cat < test.flow"
system "#{bin}/flow-header < test.flow"
system "#{bin}/flow-print < test.flow"
system "#{bin}/flow-stat < test.flow"
end
end

0 comments on commit c348225

Please sign in to comment.