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

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
	}
}
