Commit | Line | Data |
---|---|---|
7453e0de VM |
1 | # Description: Utility for incremental file transfers over networks |
2 | # URL: http://rsync.samba.org | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Depends on: acl | |
5 | ||
6 | name=rsync | |
79f0d6f1 | 7 | version=3.1.3 |
df6d261f | 8 | release=1 |
7453e0de VM |
9 | source=(http://rsync.samba.org/ftp/$name/src/$name-$version.tar.gz \ |
10 | rsyncd.conf rsyncd rsync.driver) | |
11 | ||
12 | build () { | |
13 | cd $name-$version | |
14 | ||
15 | ./configure --build=$CHOST \ | |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
18 | --with-rsh=ssh \ | |
19 | --with-included-popt \ | |
20 | --with-included-zlib | |
21 | ||
22 | make | |
23 | make DESTDIR=$PKG install | |
24 | ||
25 | install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log | |
26 | install -m 755 $SRC/rsyncd $PKG/etc/rc.d | |
27 | install -m 644 $SRC/rsyncd.conf $PKG/etc | |
28 | install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync | |
29 | touch $PKG/var/log/rsyncd.log | |
30 | } |