void-packages/srcpkgs/liburcu/template

25 lines
699 B
Bash

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