summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync/rsync_3.0.9.bb
blob: 74eacc9d6e36dd3de44b1821d69e6b8d89d3a444 (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
26
27
require rsync.inc

PR = "r0"

SRC_URI += "file://acinclude.m4"

SRC_URI[md5sum] = "5ee72266fe2c1822333c407e1761b92b"
SRC_URI[sha256sum] = "30f10f8dd5490d28240d4271bb652b1da7a60b22ed2b9ae28090668de9247c05"

EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"

# rsync 3.0 uses configure.sh instead of configure, and
# makefile checks the existence of configure.sh
do_configure_prepend () {
	rm -f configure configure.sh
	cp -f ${WORKDIR}/acinclude.m4 ${S}/

	# by default, if crosscompiling, rsync                                                           
	# disables a number of capabilities, hardlinking                                                 
	# symlinks and special files (ie devices)
	export rsync_cv_can_hardlink_special=yes
	export rsync_cv_can_hardlink_symlink=yes 
}

do_configure_append () {
	cp -f configure configure.sh
}