summaryrefslogtreecommitdiff
path: root/rsync/Pkgfile
blob: 9a45e22dd1e748d8931a149ce35d59c012181791 (plain)
    1 # Description: Utility for incremental file transfers over networks
    2 # URL: https://rsync.samba.org
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 # Depends on: acl openssl zlib zstd
    5 
    6 name=rsync
    7 version=3.2.7
    8 release=1
    9 source=(https://download.samba.org/pub/rsync/$name-$version.tar.gz \
   10 	rsyncd.conf rsyncd rsync.driver)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--with-rsh=ssh \
   18 		--with-included-zlib=no \
   19 		--with-included-popt=yes \
   20 		--disable-xxhash \
   21 		--disable-lz4
   22 
   23 	make
   24 	make DESTDIR=$PKG install
   25 
   26 	install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log
   27 	install -m 755 $SRC/rsyncd $PKG/etc/rc.d
   28 	install -m 644 $SRC/rsyncd.conf $PKG/etc
   29 	install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync
   30 	touch $PKG/var/log/rsyncd.log
   31 }

Generated by cgit