1 DESCRIPTION = "A python application that backs up one directory to \
2 another, possibly over a network. It combines the best features of a \
3 mirror and an incremental backup. The target directory ends up a copy \
4 of the source directory, but extra reverse diffs are stored in a \
5 special subdirectory of that target directory, so you can still \
6 recover files lost some time ago. It is also able to preserve \
7 subdirectories, hard links, dev files, permissions, uid/gid \
8 ownership, modification times, extended attributes, acls, and \
10 HOMEPAGE = "http://www.nongnu.org/rdiff-backup/"
14 RDEPENDS_${PN} = "zlib python-re python-io python-lang python-datetime \
15 python-pickle python-shell python-compression python-unixadmin \
18 SRC_URI = "http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-${PV}.tar.gz"
23 # Without this the python interpreter path points to the staging area.
26 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
27 ${STAGING_BINDIR_NATIVE}/python setup.py build --executable=${bindir}/python || \
28 oefatal "python setup.py build execution failed."
32 # The default do_install sets install-data to ${D}/${datadir} which
33 # ends up with documentation in /usr/share/share/... instead of
34 # /usr/share/... Modify the install data directory here to get it
35 # into the correct place.
38 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
39 ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${D}/${prefix} --install-data=${D}/${prefix} || \
40 oefatal "python setup.py install execution failed."