2014-08-20 21:39:29 +00:00
|
|
|
class Grsync < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "GUI for rsync"
|
2015-05-19 18:54:10 +00:00
|
|
|
homepage "http://www.opbyte.it/grsync/"
|
2014-09-21 00:41:32 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/grsync/grsync-1.2.5.tar.gz"
|
|
|
|
sha256 "4f1443154f7c85ca7b0e93d5fea438e2709776005e7cfc97da89f4899b1c12e5"
|
2015-05-19 18:54:10 +00:00
|
|
|
revision 1
|
2014-08-20 21:39:29 +00:00
|
|
|
|
2014-08-20 23:30:47 +00:00
|
|
|
bottle do
|
2015-06-24 21:11:11 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "39e1387923c5a9f9d591bb5e8f6d3ed9fa1dedc94c521285e7948a272597549e" => :yosemite
|
|
|
|
sha256 "6ec80e0362bff0bac9976c1ca2088d5152273e926b1a6cb3a331e8435c8d4c0c" => :mavericks
|
|
|
|
sha256 "b95620a523c2bd02260a75ddfcf97dc428629ac4314ab0d12b763376eed357cd" => :mountain_lion
|
2014-08-20 23:30:47 +00:00
|
|
|
end
|
|
|
|
|
2014-09-21 00:41:32 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "intltool" => :build
|
|
|
|
depends_on "gettext"
|
|
|
|
depends_on "gtk+"
|
2014-08-20 21:39:29 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-unity",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
|
|
|
system "make", "install"
|
|
|
|
end
|
2015-05-19 18:54:10 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
# running the executable always produces the GUI, which is undesirable for the test
|
|
|
|
# so we'll just check if the executable exists
|
|
|
|
assert (bin/"grsync").exist?
|
|
|
|
end
|
2014-08-20 21:39:29 +00:00
|
|
|
end
|