diff options
| author | Jack Nagel | 2013-09-21 19:27:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-21 19:27:25 -0500 |
| commit | eb33059f0f2594532af47216de9eff7d9c348f3c (patch) | |
| tree | 4c7c8779362a7743619463fc431e87aa44881337 /Library | |
| parent | def08a535fa54b4640c6049b6ab6f3c72da8ffc7 (diff) | |
| download | homebrew-eb33059f0f2594532af47216de9eff7d9c348f3c.tar.bz2 | |
csync: use spec deps
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/csync.rb | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/Library/Formula/csync.rb b/Library/Formula/csync.rb index 2d25639d7..afc78a92c 100644 --- a/Library/Formula/csync.rb +++ b/Library/Formula/csync.rb @@ -2,9 +2,21 @@ require 'formula' class Csync < Formula homepage 'http://www.csync.org/' - head 'git://git.csync.org/projects/csync.git' - url 'http://www.csync.org/files/csync-0.49.9.tar.gz' - sha1 'fd7df6c13aa6fc6de74cb48c2ac35ad11f6d895d' + + stable do + url 'http://www.csync.org/files/csync-0.49.9.tar.gz' + sha1 'fd7df6c13aa6fc6de74cb48c2ac35ad11f6d895d' + + depends_on 'log4c' + depends_on 'samba' + end + + head do + url 'git://git.csync.org/projects/csync.git' + # Log4c and libsmbclient are optional in HEAD. + depends_on 'log4c' => :optional + depends_on 'samba' => :optional + end depends_on 'check' => :build depends_on 'cmake' => :build @@ -14,15 +26,6 @@ class Csync < Formula depends_on 'sqlite' depends_on 'libssh' => :optional - if build.head? - # Log4c and libsmbclient are optional in HEAD. - depends_on 'log4c' => :optional - depends_on 'samba' => :optional - else - depends_on 'log4c' - depends_on 'samba' - end - depends_on :macos => :lion def patches |
