-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecurefs.rb
27 lines (23 loc) · 891 Bytes
/
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
class Securefs < 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"
license "MIT"
head "https://github.com/netheril96/securefs.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "4ee41830ddaa8bae8ad280a3826e28895d6ee21e487fc7fa6cbf8f8d5835c8e6"
end
depends_on "cmake" => :build
depends_on "libfuse@2"
depends_on :linux # on macOS, requires closed-source macFUSE
def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_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