void-packages/srcpkgs/rsync/template
2020-08-09 23:43:38 +02:00

30 lines
819 B
Bash

# Template file for 'rsync'
pkgname=rsync
version=3.2.3
revision=1
build_style=gnu-configure
conf_files="/etc/rsyncd.conf"
hostmakedepends="perl"
makedepends="zlib-devel acl-devel popt-devel xxHash-devel liblz4-devel
libressl-devel libzstd-devel"
short_desc="Remote fast incremental file transfer tool"
maintainer="Lugubris <lugubris@disroot.org>"
license="GPL-3.0-only"
homepage="http://samba.anu.edu.au/rsync/"
changelog="https://download.samba.org/pub/rsync/NEWS"
distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
checksum=becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e
if [ "$CROSS_BUILD" ]; then
configure_args=" --disable-simd"
fi
pre_check() {
# chgrp tests fail inside chroot
rm -f testsuite/chgrp.test
}
post_install() {
vconf ${FILESDIR}/rsyncd.conf
vsv rsyncd
}