2 # Copyright (C) 2007-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src
16 PKG_MD5SUM:=0ee8346ce16bdfe4c88a236e94c752b4
21 include $(INCLUDE_DIR)/package.mk
26 SUBMENU:=File Transfer
27 TITLE:=Fast remote file copy program (like rcp)
29 URL:=http://rsync.samba.org/
32 define Package/rsync/description
33 rsync is a program that allows files to be copied to
34 and from remote machines in much the same way as rcp.
35 It has many more options than rcp, and uses the rsync
36 remote-update protocol to greatly speed up file
37 transfers when the destination file already exists.
39 The rsync remote-update protocol allows rsync to
40 transfer just the differences between two sets of files
41 across the network link.
45 --with-included-popt=no \
48 --disable-xattr-support \
49 --disable-acl-support \
51 define Package/rsync/install
52 $(INSTALL_DIR) $(1)/etc
53 $(INSTALL_DATA) ./files/rsyncd.conf $(1)/etc/
54 $(INSTALL_DIR) $(1)/etc/init.d
55 $(INSTALL_BIN) ./files/rsyncd.init $(1)/etc/init.d/rsyncd
56 $(INSTALL_DIR) $(1)/usr/bin
57 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
60 $(eval $(call BuildPackage,rsync))