# $Id$ PNAME="rsync" PVER="3.2.2" PBUILD="r1" PCAT="net-misc" DESCRIPTION="rsync is an open source utility that provides fast incremental file transfer." HOMEPAGE="http://rsync.samba.org/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" ALX_PKG_KEEP="usr/bin/rsync" msetfeature "!check" sminclude mbuild alx-split SRC_URI=( http://samba.anu.edu.au/ftp/${PNAME}/src/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://rsync.samba.org/ftp/${PNAME} | grep ${PNAME}- | lasttarball gz" src_compile() { cd ${SRCDIR} local myconf # no openssl myconf+=" --disable-openssl" # no xxhash myconf+=" --disable-xxhash" # no lz myconf+=" --disable-zstd --disable-lz4" # we want not hassle with libpopt dependencies # so we use the rsync bundled popt library mconfigure --with-rsyncd-conf=/etc/rsyncd.conf --with-included-popt ${myconf} || die mmake || die }