18 lines
570 B
Ruby
18 lines
570 B
Ruby
require 'formula'
|
|
|
|
class Corkscrew < Formula
|
|
desc "Tunnel SSH through HTTP proxies"
|
|
homepage 'http://www.agroman.net/corkscrew/'
|
|
url 'http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz'
|
|
sha1 '8bdb4c0dc71048136c721c33229b9bf795230b32'
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
def install
|
|
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|