Skip to content

Instantly share code, notes, and snippets.

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