core/rsync/Pkgfile

29 lines
797 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Utility for incremental file transfers over networks
# URL: http://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
2015-12-22 16:42:11 +01:00
version=3.1.2
release=1
2009-05-10 09:22:05 +02:00
source=(http://rsync.samba.org/ftp/$name/src/$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
}