| 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 | # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu |
| 5 | # Depends on: dropbear |
| 6 | |
| 7 | name=rsync |
| 8 | version=3.0.7 |
| 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 | } |