# template file for 'liburcu'
pkgname=liburcu
version=0.9.3
revision=1
build_style=gnu-configure
short_desc="LGPLv2.1 userspace RCU (read-copy-update) library"
maintainer="Simon Thoby <simonthoby@live.fr>"
license="LGPL-2.1"
homepage="http://liburcu.org"
distfiles="http://www.lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2"
checksum=1bce32e6a6c967fef6d37adaadf33df19878d69673f9ef9d3f2470e0c6ed4006
wrksrc="userspace-rcu-${version}"
configure_args="--disable-static"

liburcu-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share/doc
	}
}
