Last active
July 5, 2016 09:42
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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