aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorWilliam Lynch2010-09-11 22:36:44 -0500
committerAdam Vandenberg2010-10-31 16:58:13 -0700
commit31b723b3e3acd7fd360fb4b5e88593b16731f746 (patch)
tree3c4cd21a4837d7344238b20b3aab3c8726f3201c /Library/Formula
parentd83a3a3d239ba0d30c9163847911cd315046cd78 (diff)
downloadhomebrew-31b723b3e3acd7fd360fb4b5e88593b16731f746.tar.bz2
New formula: TcpReplay
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpreplay.rb42
1 files changed, 42 insertions, 0 deletions
diff --git a/Library/Formula/tcpreplay.rb b/Library/Formula/tcpreplay.rb
new file mode 100644
index 000000000..331fae24c
--- /dev/null
+++ b/Library/Formula/tcpreplay.rb
@@ -0,0 +1,42 @@
+require 'formula'
+
+class Tcpreplay <Formula
+ url 'http://downloads.sourceforge.net/project/tcpreplay/tcpreplay/3.4.4/tcpreplay-3.4.4.tar.gz'
+ homepage 'http://tcpreplay.synfin.net'
+ sha1 '9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8'
+
+ def patches
+ DATA
+ end
+
+ def install
+ system "./configure", "--disable-dependency-tracking", "--disable-debug",
+ "--prefix=#{prefix}",
+ "--enable-dynamic-link"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/configure b/configure
+index d41d433..9514748 100755
+--- a/configure
++++ b/configure
+@@ -9872,7 +9872,7 @@ darwin* | rhapsody*)
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
++ shrext_cmds=".dylib"
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+@@ -14675,7 +14675,7 @@ darwin* | rhapsody*)
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
++ shrext_cmds=".dylib"
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;