added formula for install Sproxy

Sproxy is a complimentary tool for the load testing tool Siege. Sproxy is the
[S]iege[proxy], a tool designed to harvest URLs to a urls.txt for the Siege
http/https regression tester. Sproxy is designed to work like a regular http
proxy. It listens for http requests on port 9001 (default) and it returns
requested content to the web browser while it writes the URL along with any
GET requests and/or POST data to a file for Siege.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Fix man file location.
master
Seth Chisamore 2010-04-21 17:07:14 -04:00 committed by Adam Vandenberg
parent 6ad622573a
commit 9ff6dfd008
1 changed files with 16 additions and 0 deletions

16
Formula/sproxy.rb Normal file
View File

@ -0,0 +1,16 @@
require 'formula'
class Sproxy <Formula
url 'ftp://sid.joedog.org/pub/sproxy/sproxy-1.01.tar.gz'
homepage 'http://www.joedog.org/index/sproxy-home'
md5 'a8c3fa4c67b3e842fe5ee2ade69a3653'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
# Makefile doesn't honor mandir, so move it
share.install prefix+"man"
end
end