aboutsummaryrefslogtreecommitdiffstats
path: root/package/rsync/rsync.mk
blob: bf789df6718e1f8a0ecb0e5a3c41ef1f3290b4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#############################################################
#
# rsync
#
#############################################################

RSYNC_VERSION:=3.0.5
RSYNC_SOURCE:=rsync-$(RSYNC_VERSION).tar.gz
RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/src
RSYNC_AUTORECONF:=no
RSYNC_USE_CONFIG_CACHE:=no
RSYNC_INSTALL_STAGING:=NO
RSYNC_INSTALL_TARGET:=YES
ifeq ($(BR2_ENABLE_DEBUG),y)
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
			  install
else
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
			  STRIPPROG="$(TARGET_STRIP)" install-strip
endif
RSYNC_CONF_OPT:=--with-included-popt

RSYNC_DEPENDENCIES:=uclibc

$(eval $(call AUTOTARGETS,package,rsync))