CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / rsync / Pkgfile
... / ...
CommitLineData
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
7name=rsync
8version=3.0.7
9release=1
10source=(http://rsync.samba.org/ftp/$name/src/$name-$version.tar.gz \
11 rsyncd.conf rsyncd rsync.driver)
12
13build () {
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}