blob: 52441e86b847160fb17a8f09ec548475c5b1f7c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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'
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
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-rsyncd-conf=#{prefix}/etc/rsyncd.conf",
"--enable-ipv6"
system "make install"
end
end
|