28 lines
891 B
Ruby
28 lines
891 B
Ruby
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
|