2010-04-21 21:07:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sproxy < Formula
|
2010-04-21 21:07:14 +00:00
|
|
|
homepage 'http://www.joedog.org/index/sproxy-home'
|
2012-02-10 06:28:00 +00:00
|
|
|
url 'http://www.joedog.org/pub/sproxy/sproxy-1.02.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'c218b3a49d3acc3aca39ac658b2013846ee7c5b9'
|
2010-04-21 21:07:14 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
2012-02-10 06:28:00 +00:00
|
|
|
# Makefile doesn't honor mandir, so move manpages post-install
|
|
|
|
share.install prefix+'man'
|
2010-04-21 21:07:14 +00:00
|
|
|
end
|
|
|
|
end
|