core/rsync/Pkgfile

29 lines
798 B
Plaintext
Raw Permalink 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
# Depends on: acl
2006-02-23 16:26:10 +01:00
name=rsync
2018-01-29 18:49:09 +01:00
version=3.1.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 \
2013-10-01 18:48:53 +02:00
--with-included-popt \
--with-included-zlib
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
}