void-packages/srcpkgs/liburcu/template

25 lines
699 B
Bash

# Template file for 'liburcu'
pkgname=liburcu
version=0.11.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=92b9971bf3f1c443edd6c09e7bf5ff3b43531e778841f16377a812c8feeb3350
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
}
}