homebrew-fuse/Formula/securefs-mac.rb

31 lines
936 B
Ruby
Raw Normal View History

2021-05-04 15:53:38 +08:00
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",
2022-06-16 11:30:41 +08:00
tag: "0.13.0",
revision: "1705d14b8fef5ebb826a74549d609c6ab6cb63f7"
2021-05-04 15:53:38 +08:00
license "MIT"
head "https://github.com/netheril96/securefs.git"
bottle do
2022-06-16 11:30:41 +08:00
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/securefs-mac-0.13.0"
sha256 cellar: :any_skip_relocation, arm64_monterey: "d4befffc32ea6cfd3b3a64efc297d65b10f55696477a57c47f55ea1286ca6702"
2021-05-04 15:53:38 +08:00
end
depends_on "cmake" => :build
depends_on MacfuseRequirement
depends_on :macos
def install
setup_fuse
system "cmake", ".", *fuse_cmake_args, *std_cmake_args
2021-05-04 15:53:38 +08:00
system "make", "install"
end
test do
system "#{bin}/securefs", "version" # The sandbox prevents a more thorough test
end
end