void-packages/srcpkgs/lttng-ust/template

27 lines
800 B
Bash

# Template file for 'lttng-ust'
pkgname=lttng-ust
version=2.12.2
revision=1
build_style=gnu-configure
makedepends="liburcu-devel libnuma-devel"
depends="libnuma"
short_desc="Low-overhead tracing capabilities for userspace"
maintainer="Simon Thoby <simonthoby@live.fr>"
license="LGPL-2.1-only"
homepage="http://lttng.org"
changelog="https://github.com/lttng/lttng-ust/raw/master/ChangeLog"
distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=bcd0f064b6ca88c72d84e760eac3472ae5c828411c634435922bee9fce359fc7
python_version=3
lttng-ust-devel_package() {
depends="${sourcepkg}>=${version}_${revision} liburcu-devel"
short_desc+=" - development files"
pkg_install() {
vmove /usr/include
vmove /usr/lib/pkgconfig
vmove "/usr/lib/*.so"
vmove /usr/share/man/man3
}
}