homebrew-fuse/Formula/securefs-mac.rb

34 lines
1.3 KiB
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"
2022-06-16 13:53:12 +08:00
sha256 cellar: :any, big_sur: "664cf88693667af20d27239d00120ba58a4bcbf341ed051a68be21b7df0c043c"
2022-06-16 14:46:46 +08:00
sha256 cellar: :any, catalina: "c530c8f50c3c7515fb47504c14c2f1325d8e69fe7d37ced432e6d3bdb38648f1"
2022-06-16 14:28:33 +08:00
sha256 cellar: :any, mojave: "a584a77dcb42a7fb9f3000e2c91c504ca9b399897d1f25f22aa472e89ab71b29"
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