void-packages/srcpkgs/liburcu/template

25 lines
699 B
Bash

# Template file for 'liburcu'
pkgname=liburcu
version=0.12.0
revision=1
wrksrc="userspace-rcu-${version}"
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=409b1be506989e1d26543194df1a79212be990fe5d4fd84f34f019efed989f97
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
}
}