homebrew-core/Formula/cryfs.rb

33 lines
1 KiB
Ruby
Raw Normal View History

class Cryfs < Formula
2017-10-29 19:12:42 +00:00
desc "Encrypts your files so you can safely store them in Dropbox, iCloud, etc."
homepage "https://www.cryfs.org"
url "https://github.com/cryfs/cryfs/releases/download/0.9.9/cryfs-0.9.9.tar.xz"
sha256 "aa8d90bb4c821cf8347f0f4cbc5f68a1e0f4eb461ffd8f1ee093c4d37eac2908"
head "https://github.com/cryfs/cryfs.git", :branch => "develop"
2017-09-10 15:17:54 +00:00
bottle do
cellar :any
2018-02-05 04:55:25 +00:00
sha256 "8f58cac3f867d51a95f09e17e15b893dc4415df18476963dd8cdd72c9a99f56c" => :high_sierra
sha256 "db97f7cd1d28b3036165d4f8142688b73e3bce12416d0a1a0b9eff03d44a0245" => :sierra
sha256 "2fab8415b94e7b2f782ec642e2e4fb0ce345524f5fd014cc21d14b2b410c8635" => :el_capitan
2017-09-10 15:17:54 +00:00
end
depends_on "cmake" => :build
depends_on "boost"
depends_on "cryptopp"
depends_on "openssl"
depends_on :osxfuse
needs :cxx11
def install
system "cmake", ".", "-DBUILD_TESTING=off", *std_cmake_args
system "make", "install"
end
test do
ENV["CRYFS_FRONTEND"] = "noninteractive"
assert_match "CryFS", shell_output("#{bin}/cryfs", 10)
end
end