homebrew-core/Formula/sproxy.rb
2015-06-05 14:47:57 +01:00

24 lines
800 B
Ruby

require 'formula'
class Sproxy < Formula
desc "HTTP proxy server collecting URLs in a 'siege-friendly' manner"
homepage 'http://www.joedog.org/sproxy-home/'
url 'http://download.joedog.org/sproxy/sproxy-1.02.tar.gz'
sha1 'c218b3a49d3acc3aca39ac658b2013846ee7c5b9'
bottle do
revision 1
sha1 "76ec93a0851c1d0b7f55f585550079a2273648e1" => :yosemite
sha1 "cd11be8dd8662f94005f4c787b399cab0eea5f88" => :mavericks
sha1 "9574960690dd1700496515f35456570fcefaef8a" => :mountain_lion
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
# Makefile doesn't honor mandir, so move manpages post-install
share.install prefix+'man'
end
end