# Description: A fast and versatile file copying tool for remote and local files # URL: https://rsync.samba.org/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: popt name=rsync version=3.4.1 release=2 source=(https://www.samba.org/ftp/${name}/src/${name}-${version}.tar.gz rsyncd.conf rsyncd.run rsync.driver) build() { cd ${name}-${version} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-xxhash \ --without-included-zlib \ --disable-lz4 make make DESTDIR=$PKG install install -d $PKG/etc/ports/drivers install -m 644 $SRC/rsyncd.conf $PKG/etc/rsyncd.conf install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync install -Dm755 $SRC/rsyncd.run $PKG/etc/sv/rsyncd/run ln -s ../../../run/runit/supervise.rsyncd $PKG/etc/sv/rsyncd/supervise }