Last active
February 19, 2019 15:46
-
-
Save basoro/2e588eccc55174e8f174335a62c378c8 to your computer and use it in GitHub Desktop.
wut
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.9.0.tar.gz" | |
sha256 "f15ced8500ec56356c3bf271f52e58ed83729118361c7103eab64a618441f740" | |
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