summaryrefslogtreecommitdiffstats
path: root/rsync/Pkgfile
blob: 7c895f188da9752c7691a7eac74356ef453d6dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description="Utility for incremental file transfers over networks."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://rsync.samba.org"
depends=(openssh acl)

name=rsync
version=3.0.7
release=1
source=(
	http://rsync.samba.org/ftp/rsync/src/$name-$version.tar.gz
	rsyncd.conf
	rsyncd
	rsync.driver
)
build () 
{ 
	cd $name-$version;
	./configure --prefix=$prefix --mandir=$mandir --with-rsh=ssh --with-included-popt;
	make;
	make DESTDIR=$PKG install;
	install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log;
	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;
	touch $PKG/var/log/rsyncd.log
}