-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
/
securefs.rb
42 lines (38 loc) 路 1.29 KB
/
securefs.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class Securefs < Formula
desc "Filesystem with transparent authenticated encryption"
homepage "https://github.com/netheril96/securefs"
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", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "48177ab631bf028e1609f536d80eb5ffbd3065a8553dd96defa8a2636fd2e89f"
end
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "tclap" => :build
depends_on "abseil"
depends_on "argon2"
depends_on "cryptopp"
depends_on "fruit"
depends_on "jsoncpp"
depends_on "libfuse@2"
depends_on :linux # on macOS, requires closed-source macFUSE
depends_on "protobuf"
depends_on "sqlite"
depends_on "uni-algo"
depends_on "utf8proc"
def 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
end
end