Skip to content

Instantly share code, notes, and snippets.

@osamu2001
Created October 7, 2013 02:28
Show Gist options
  • Save osamu2001/6861739 to your computer and use it in GitHub Desktop.
Save osamu2001/6861739 to your computer and use it in GitHub Desktop.
brew install rsync 3.1.0
require 'formula'
class Rsync <Formula
url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.1.0.tar.gz'
homepage 'http://rsync.samba.org/'
md5 '3be148772a33224771a8d4d2a028b132'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--with-rsyncd-conf=#{prefix}/etc/rsyncd.conf",
"--enable-ipv6"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment