Skip to content

Commit

Permalink
zbackup v1.2 (new formula)
Browse files Browse the repository at this point in the history
zbackup is a globally-deduplicating backup tool, based on the ideas found in rsync.

Closes Homebrew/legacy-homebrew#23072.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
eugenesan authored and MikeMcQuaid committed Nov 11, 2013
1 parent 95399df commit 6e8198f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/zbackup.rb
@@ -0,0 +1,19 @@
require 'formula'

class Zbackup < Formula
homepage 'http://zbackup.org'
url 'https://github.com/zbackup/zbackup/archive/1.2.tar.gz'
sha1 'e87dfaeeeea0d59f4af00d3ce248aaabf1a25cb9'

option 'with-brewed-openssl', 'Build with Homebrew OpenSSL instead of the system version'

depends_on 'cmake' => :build
depends_on 'openssl' if MacOS.version <= :leopard or build.with? 'brewed-openssl'
depends_on 'protobuf'
depends_on 'xz' # get liblzma compression algorithm library from XZutils

def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end

0 comments on commit 6e8198f

Please sign in to comment.