class Encfs < Formula desc "Encrypted pass-through FUSE file system" homepage "https://vgough.github.io/encfs/" url "https://github.com/vgough/encfs/archive/v1.9.1.tar.gz" sha256 "67203aeff7a06ce7be83df4948db296be89a00cffe1108a0a41c96d7481106a4" head "https://github.com/vgough/encfs.git" depends_on "cmake" => :build depends_on "pkg-config" => :build depends_on "boost" depends_on "gettext" depends_on "openssl" depends_on :osxfuse needs :cxx11 def install ENV.cxx11 mkdir "build" do system "cmake", "..", *std_cmake_args system "make", "install" end end test do # Functional test violates sandboxing, so punt. # Issue #50602; upstream issue vgough/encfs#151 assert_match version.to_s, shell_output("#{bin}/encfs 2>&1", 1) end end