void-packages/srcpkgs/lttng-tools/template

28 lines
840 B
Bash

# Template file for 'lttng-tools'
pkgname=lttng-tools
version=2.10.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libxml2-devel lttng-modules-dkms lttng-ust-devel popt-devel
libuuid-devel"
short_desc="Set of tools to control LTTng tracing"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="LGPL-2.1-only, GPL-2.0-only"
homepage="https://lttng.org"
distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=664a1145f9fd7a574da18aa3dfbbe97983985a471ca2992d6b272f1cebe6b30d
system_groups="tracing"
lttng-tools-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}