2012-07-01 12:05:26 +00:00
|
|
|
class Csync < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "File synchronizer especially designed for normal users"
|
2015-07-10 20:54:51 +00:00
|
|
|
homepage "https://www.csync.org/"
|
2015-01-18 06:12:14 +00:00
|
|
|
url "https://open.cryptomilk.org/attachments/download/27/csync-0.50.0.tar.xz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "c07526942a93c1e213d354dc45fd61fbc0430c60e109e7a2f0fcaf6213a45c86"
|
2013-09-22 00:27:25 +00:00
|
|
|
|
2015-01-18 06:12:14 +00:00
|
|
|
head "git://git.csync.org/projects/csync.git"
|
2012-07-01 12:05:26 +00:00
|
|
|
|
2015-01-18 06:25:56 +00:00
|
|
|
bottle do
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "6fb34b42a41eb68c1d05f232aab49b71eb9e3030a78e11fa28d65b3792024db7" => :yosemite
|
|
|
|
sha256 "41f5ceb9468dc7d2f4fd8048778fde8ec0395f79ce9ee9af36bfb33b77178c7f" => :mavericks
|
|
|
|
sha256 "8550caddfd1c8ed531abdb79b5955292977c9adb19adab91b1acd50f27b8d27f" => :mountain_lion
|
2015-01-18 06:25:56 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "check" => :build
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "doxygen" => [:build, :optional]
|
|
|
|
depends_on "argp-standalone"
|
|
|
|
depends_on "iniparser"
|
|
|
|
depends_on "sqlite"
|
|
|
|
depends_on "libssh" => :optional
|
|
|
|
depends_on "log4c" => :optional
|
|
|
|
depends_on "samba" => :optional
|
2012-09-03 18:58:34 +00:00
|
|
|
|
2013-09-19 14:54:46 +00:00
|
|
|
depends_on :macos => :lion
|
|
|
|
|
2012-07-01 12:05:26 +00:00
|
|
|
def install
|
2015-01-18 06:12:14 +00:00
|
|
|
mkdir "build" unless build.head?
|
2015-01-22 01:44:40 +00:00
|
|
|
cd "build" do
|
2012-07-01 12:05:26 +00:00
|
|
|
system "cmake", "..", *std_cmake_args
|
2015-01-22 01:44:40 +00:00
|
|
|
system "make", "all"
|
|
|
|
system "make", "install"
|
2012-07-01 12:05:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2014-05-20 04:04:26 +00:00
|
|
|
system bin/"csync", "-V"
|
2012-07-01 12:05:26 +00:00
|
|
|
end
|
|
|
|
end
|