void-packages/srcpkgs/liburcu/template

25 lines
699 B
Bash

# Template file for 'liburcu'
pkgname=liburcu
version=0.12.1
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=bbfaead0345642b97e0de90f889dfbab4b2643a6a5e5c6bb59cd0d26fc0bcd0e
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
}
}