CATEGORY:=Network
SUBMENU:=File Transfer
TITLE:=Fast remote file copy program (like rcp)
- DEPENDS:=+libpopt +zlib
+ DEPENDS:=+libpopt +zlib +RSYNC_xattr:libattr +RSYNC_acl:libacl
URL:=http://rsync.samba.org/
+ MENU:=1
endef
+define Package/rsync/config
+ source "$(SOURCE)/Config.in"
+endef
+
+ifeq ($(CONFIG_RSYNC_xattr),y)
+ CONFIGURE_ARGS+= --enable-xattr-support
+else
+ CONFIGURE_ARGS+= --disable-xattr-support
+endif
+
+ifeq ($(CONFIG_RSYNC_acl),y)
+ CONFIGURE_ARGS+= --enable-acl-support
+else
+ CONFIGURE_ARGS+= --disable-acl-support
+endif
+
define Package/rsyncd
SECTION:=net
CATEGORY:=Network
--with-included-zlib=no \
--disable-debug \
--disable-locale \
- --disable-xattr-support \
- --disable-acl-support \
define Package/rsync/install
$(INSTALL_DIR) $(1)/usr/bin