# 2010-07-07, benjamin: receipt for building rsync3 universal binary for # mac os x 10.4+ ppc/i386/x86_64 on a build host running 10.6 # based upon http://www.bombich.com/mactips/rsync.html # install xcode from http://developer.apple.com/technologies/xcode.html # get sources curl -O http://samba.anu.edu.au/ftp/rsync/rsync-3.0.7.tar.gz curl -O http://samba.anu.edu.au/ftp/rsync/rsync-patches-3.0.7.tar.gz # optionally verify signatures curl -O http://samba.anu.edu.au/ftp/rsync/rsync-3.0.7.tar.gz.asc gpg --verify rsync-3.0.7.tar.gz.asc curl -O http://samba.anu.edu.au/ftp/rsync/rsync-patches-3.0.7.tar.gz.asc gpg --verify rsync-patches-3.0.7.tar.gz.asc # apply patches relevant for preserving Mac OS X metadata tar xvzf rsync-3.0.7.tar.gz tar xvzf rsync-patches-3.0.7.tar.gz cd rsync-3.0.7/ patch -p1