homebrew-core/Formula/rsync.rb

23 lines
627 B
Ruby
Raw Normal View History

require 'formula'
class Rsync <Formula
url 'http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz'
homepage 'http://rsync.samba.org/'
md5 'b53525900817cf1ba7ad3a516ab5bfe9'
2010-04-03 16:56:06 +00:00
def patches
base = "http://trac.macports.org/export/65950/trunk/dports/net/rsync/files"
{
:p1 => ["#{base}/patch-fileflags.diff", "#{base}/patch-crtimes.diff"]
}
end
def install
2010-04-03 16:56:06 +00:00
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-rsyncd-conf=#{prefix}/etc/rsyncd.conf",
"--enable-ipv6"
system "make install"
end
end