# Template file for 'librsync'
pkgname=librsync
version=0.9.7
revision=4
build_style=gnu-configure
configure_args="--enable-shared"
makedepends="zlib-devel bzip2-devel popt-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://librsync.sourceforge.net/"
license="LGPL-2.1"
short_desc="A library that implements the rsync remote-delta algorithm (rdiff)"
distfiles="${SOURCEFORGE_SITE}/librsync/${version}/librsync-${version}.tar.gz"
checksum=6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6

librsync-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/share/man/man3
	}
}
