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