23 lines
848 B
Ruby
23 lines
848 B
Ruby
class Rsnapshot < Formula
|
|
desc "File system snapshot utility (based on rsync)"
|
|
homepage "https://www.rsnapshot.org/"
|
|
url "https://github.com/rsnapshot/rsnapshot/releases/download/1.4.3/rsnapshot-1.4.3.tar.gz"
|
|
sha256 "2b0c7aad3e14e0260513331425a605d73c3bdd7936d66d418d7714a76bc55bd1"
|
|
head "https://github.com/rsnapshot/rsnapshot.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "e195b17e2c28a787e6bc183c3f57397256fba91c8d5c490f3c24576033d39a74" => :catalina
|
|
sha256 "e195b17e2c28a787e6bc183c3f57397256fba91c8d5c490f3c24576033d39a74" => :mojave
|
|
sha256 "e195b17e2c28a787e6bc183c3f57397256fba91c8d5c490f3c24576033d39a74" => :high_sierra
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/rsnapshot", "--version"
|
|
end
|
|
end
|