homebrew-core/Formula/rdesktop.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

19 lines
575 B
Ruby

require 'formula'
class Rdesktop < Formula
homepage 'http://www.rdesktop.org/'
url 'https://downloads.sourceforge.net/project/rdesktop/rdesktop/1.8.1/rdesktop-1.8.1.tar.gz'
sha1 '57bb41f98ddf9eeef875c613d790fee37971d0f8'
depends_on :x11
def install
args = ["--prefix=#{prefix}",
"--disable-credssp",
"--disable-smartcard", # disable temporally before upstream fix
"--with-openssl=#{MacOS.sdk_path}/usr",
"--x-includes=#{MacOS::X11.include}"]
system "./configure", *args
system "make install"
end
end