# Template file for 'rdiff-backup'
pkgname=rdiff-backup
version=1.2.8
revision=1
build_style=python2-module
pycompile_module="rdiff_backup"
hostmakedepends="python"
makedepends="python-devel librsync-devel"
depends="python"
short_desc="Local/remote mirroring and incremental backups"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://rdiff-backup.nongnu.org/"
distfiles="http://savannah.nongnu.org/download/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=0d91a85b40949116fa8aaf15da165c34a2d15449b3cbe01c8026391310ac95db

pre_build() {
	sed -i -e 's;RS_DEFAULT_STRONG_LEN;8, RS_MD4_SIG_MAGIC;' _librsyncmodule.c
}
