CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: removed lib32 directories
[crossrootfs.git] / rsync / Pkgfile
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
7 version=3.1.1
8 release=3
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 }