core/rsync/Pkgfile

32 lines
918 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Utility for incremental file transfers over networks
2017-01-27 09:56:27 +01:00
# URL: https://rsync.samba.org
2008-03-12 16:51:48 +01:00
# Maintainer: CRUX System Team, core-ports at crux dot nu
2020-06-22 12:24:18 +02:00
# Depends on: acl openssl zlib
2006-02-23 16:26:10 +01:00
name=rsync
2020-08-08 22:54:51 +02:00
version=3.2.3
release=1
2018-01-29 18:49:09 +01:00
source=(https://download.samba.org/pub/rsync/$name-$version.tar.gz \
2008-03-12 16:51:48 +01:00
rsyncd.conf rsyncd rsync.driver)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2006-11-10 08:50:22 +01:00
./configure --prefix=/usr \
--with-rsh=ssh \
2020-06-22 12:24:18 +02:00
--with-included-zlib=no \
--with-included-popt=yes \
--disable-xxhash \
--disable-lz4 \
--disable-zstd
2008-03-12 16:51:48 +01:00
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2008-03-12 16:51:48 +01:00
install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log
2006-03-12 12:35:14 +01:00
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
2006-02-23 16:26:10 +01:00
touch $PKG/var/log/rsyncd.log
}