# Template file for 'liburcu'
pkgname=liburcu
version=0.14.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Userspace RCU (read-copy-update) library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://liburcu.org"
changelog="https://git.liburcu.org/?p=userspace-rcu.git;a=blob_plain;f=ChangeLog;hb=master"
distfiles="https://www.lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2"
checksum=ca43bf261d4d392cff20dfae440836603bf009fce24fdc9b2697d837a2239d4f

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