void-packages/srcpkgs/lttng-tools/template

30 lines
870 B
Bash

# Template file for 'lttng-tools'
pkgname=lttng-tools
version=2.12.4
revision=2
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=d729f8c2373a41194f171aeb0da0a9bb35ac181f31afa7e260786d19a500dea1
# tests timeout
make_check=no
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"
}
}