2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-21 23:56:26 +00:00
|
|
|
|
|
|
|
class Rsync <Formula
|
2010-01-21 02:36:45 +00:00
|
|
|
url 'http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz'
|
2009-09-21 23:56:26 +00:00
|
|
|
homepage 'http://rsync.samba.org/'
|
2010-01-21 02:36:45 +00:00
|
|
|
md5 'b53525900817cf1ba7ad3a516ab5bfe9'
|
2009-09-21 23:56:26 +00:00
|
|
|
|
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
|
|
|
|
|
2009-09-21 23:56:26 +00:00
|
|
|
def install
|
2010-04-03 16:56:06 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
2009-09-21 23:56:26 +00:00
|
|
|
"--with-rsyncd-conf=#{prefix}/etc/rsyncd.conf",
|
|
|
|
"--enable-ipv6"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|