Skip to content

Instantly share code, notes, and snippets.

@reelsense
Last active July 5, 2016 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reelsense/9a395212f8494609ed710f331abb3610 to your computer and use it in GitHub Desktop.
Save reelsense/9a395212f8494609ed710f331abb3610 to your computer and use it in GitHub Desktop.
Installing Tiger-VNC and Forcing omitting the FLTK dependency (Without omitting Brew will say that is an incompatible formulae)
class TigerVnc < Formula
homepage "http://tigervnc.org/"
url "https://github.com/TigerVNC/tigervnc/archive/v1.6.0.tar.gz"
sha256 "98ffe98fcfe883e6c35aec579295b53d73d2ccf62e0f6e53a73ecad993b096ca"
depends_on "cmake" => :build
depends_on "gnutls" => :recommended
depends_on "jpeg-turbo"
depends_on "gettext"
depends_on :x11
def install
turbo = Formula["jpeg-turbo"]
args = std_cmake_args + %W[
-DJPEG_INCLUDE_DIR=#{turbo.include}
-DJPEG_LIBRARY=#{turbo.lib}/libjpeg.dylib
.
]
system "cmake", *args
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment