2004-10-10 04:07:08 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# rsync
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-08-20 22:15:10 +08:00
|
|
|
|
2010-02-11 20:46:47 +08:00
|
|
|
RSYNC_VERSION:=3.0.7
|
2007-07-11 22:06:06 +08:00
|
|
|
RSYNC_SOURCE:=rsync-$(RSYNC_VERSION).tar.gz
|
2010-02-11 20:46:47 +08:00
|
|
|
RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/src
|
2008-08-20 22:15:10 +08:00
|
|
|
RSYNC_INSTALL_STAGING:=NO
|
|
|
|
RSYNC_INSTALL_TARGET:=YES
|
2009-10-08 04:08:35 +08:00
|
|
|
RSYNC_CONF_OPT=$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
|
2009-01-03 16:04:21 +08:00
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
|
|
|
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
|
|
|
|
install
|
|
|
|
else
|
2008-08-20 22:15:10 +08:00
|
|
|
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
|
|
|
|
STRIPPROG="$(TARGET_STRIP)" install-strip
|
2008-10-20 19:53:16 +08:00
|
|
|
endif
|
2008-08-20 22:15:10 +08:00
|
|
|
RSYNC_CONF_OPT:=--with-included-popt
|
2004-10-10 04:07:08 +08:00
|
|
|
|
2008-08-20 22:15:10 +08:00
|
|
|
$(eval $(call AUTOTARGETS,package,rsync))
|