mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 16:15:54 +00:00
securefs 1.0.0
Closes #78. Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com>
This commit is contained in:
parent
825b32e49c
commit
cbbdd2abe5
1 changed files with 28 additions and 7 deletions
|
|
@ -3,11 +3,15 @@ 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.13.1",
|
||||
revision: "bb7088e3fe43cd5978ec6b09b4cd9615a4ab654c"
|
||||
url "https://github.com/netheril96/securefs/archive/refs/tags/v1.0.0.tar.gz"
|
||||
sha256 "de888359734a05ca0db56d006b4c9774f18fd9e6f9253466a86739b5f6ac3753"
|
||||
license "MIT"
|
||||
head "https://github.com/netheril96/securefs.git"
|
||||
head "https://github.com/netheril96/securefs.git", branch: "master"
|
||||
|
||||
livecheck do
|
||||
url :stable
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/securefs-mac-0.13.1"
|
||||
|
|
@ -19,16 +23,33 @@ class SecurefsMac < Formula
|
|||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pkgconf" => :build
|
||||
depends_on "tclap" => :build
|
||||
depends_on "abseil"
|
||||
depends_on "argon2"
|
||||
depends_on "cryptopp"
|
||||
depends_on "fruit"
|
||||
depends_on "jsoncpp"
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
depends_on "protobuf"
|
||||
depends_on "sqlite"
|
||||
depends_on "uni-algo"
|
||||
depends_on "utf8proc"
|
||||
|
||||
def install
|
||||
setup_fuse
|
||||
system "cmake", ".", *fuse_cmake_args, *std_cmake_args
|
||||
system "make", "install"
|
||||
args = %w[
|
||||
-DSECUREFS_ENABLE_INTEGRATION_TEST=OFF
|
||||
-DSECUREFS_ENABLE_UNIT_TEST=OFF
|
||||
-DSECUREFS_USE_VCPKG=OFF
|
||||
]
|
||||
system "cmake", "-S", ".", "-B", "build", *std_cmake_args, *args
|
||||
system "cmake", "--build", "build"
|
||||
system "cmake", "--install", "build"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/securefs", "version" # The sandbox prevents a more thorough test
|
||||
system bin/"securefs", "version" # The sandbox prevents a more thorough test
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue