mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 16:15:54 +00:00
30 lines
913 B
Ruby
30 lines
913 B
Ruby
require_relative "../require/macfuse"
|
|
|
|
class SecurefsMac < Formula
|
|
desc "Filesystem with transparent authenticated encryption"
|
|
homepage "https://github.com/netheril96/securefs"
|
|
url "https://github.com/netheril96/securefs.git",
|
|
tag: "0.12.0",
|
|
revision: "a4972834d93e89117e67dae58998f10f8a7c0fbb"
|
|
license "MIT"
|
|
head "https://github.com/netheril96/securefs.git"
|
|
|
|
bottle do
|
|
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/securefs-mac-0.12.0"
|
|
sha256 cellar: :any, big_sur: "70db42eeea99f3ba3f2cc630e54d889160557a578c288fab05c3a4a16f6313b1"
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on MacfuseRequirement
|
|
depends_on :macos
|
|
|
|
def install
|
|
setup_fuse
|
|
system "cmake", ".", *fuse_cmake_args, *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/securefs", "version" # The sandbox prevents a more thorough test
|
|
end
|
|
end
|