description="Utility for incremental file transfers over networks." packager="CRUX System Team " maintainer="Lukc " url="http://rsync.samba.org" depends=(openssh acl) name=rsync version=3.0.7 release=1 source=( http://rsync.samba.org/ftp/rsync/src/$name-$version.tar.gz rsyncd.conf rsyncd rsync.driver ) build () { cd $name-$version; ./configure --prefix=$prefix --mandir=$mandir --with-rsh=ssh --with-included-popt; make; make DESTDIR=$PKG install; install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log; install -m 755 $SRC/rsyncd $PKG/etc/rc.d; install -m 644 $SRC/rsyncd.conf $PKG/etc; install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync; touch $PKG/var/log/rsyncd.log }