Commit | Line | Data |
---|---|---|
0e08aba9 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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
028540cd | 5 | # Depends on: openssh acl |
0e08aba9 VM |
6 | |
7 | name=rsync | |
a6f4e115 | 8 | version=3.0.8 |
0e08aba9 VM |
9 | release=1 |
10 | source=(http://rsync.samba.org/ftp/$name/src/$name-$version.tar.gz \ | |
11 | rsyncd.conf rsyncd rsync.driver) | |
12 | ||
13 | build () { | |
14 | cd $name-$version | |
15 | ||
16 | ./configure --build=$CHOST \ | |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
19 | --mandir=/usr/man \ | |
20 | --with-rsh=ssh \ | |
21 | --with-included-popt | |
22 | ||
23 | make | |
24 | make DESTDIR=$PKG install | |
25 | ||
26 | install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log | |
27 | install -m 755 $SRC/rsyncd $PKG/etc/rc.d | |
28 | install -m 644 $SRC/rsyncd.conf $PKG/etc | |
29 | install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync | |
30 | touch $PKG/var/log/rsyncd.log | |
31 | } |