tcpreplay 4.1.0-b2 devel
Adds the devel build, adds a dependency on libdnet because if you have it installed it is already looking for and pulling it in from /usr/local and adds a test. Closes Homebrew/homebrew#34207. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
760e466d0d
commit
087b07b138
1 changed files with 12 additions and 0 deletions
|
@ -12,6 +12,14 @@ class Tcpreplay < Formula
|
|||
sha1 "9675b87cf528c950d69c8500c78ab059b601f16a" => :lion
|
||||
end
|
||||
|
||||
depends_on "libdnet" => :recommended
|
||||
|
||||
devel do
|
||||
url "https://github.com/appneta/tcpreplay/releases/download/v4.1.0beta2/tcpreplay-4.1.0beta2.tar.gz"
|
||||
sha1 "63c2e5cb17e65bd5072661b43553dc7efc48e881"
|
||||
version "4.1.0-b2"
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-debug",
|
||||
|
@ -20,4 +28,8 @@ class Tcpreplay < Formula
|
|||
"--with-libpcap=#{MacOS.sdk_path}/usr"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/tcpreplay", "--version"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue