summaryrefslogtreecommitdiffstats
path: root/rsync/Pkgfile.old
blob: 6435b977e4bece154e80cd622a00f94f403419c9 (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
28
# Description: Utility for incremental file transfers over networks
# URL:         http://rsync.samba.org
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  openssh acl

name=rsync
version=3.0.7
release=1
source=(http://rsync.samba.org/ftp/$name/src/$name-$version.tar.gz \
        rsyncd.conf rsyncd rsync.driver)

build () {
    cd $name-$version

    ./configure --prefix=/usr \
                --mandir=/usr/man \
                --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
}