void-packages/srcpkgs/lttng-tools/template

28 lines
840 B
Bash

# Template file for 'lttng-tools'
pkgname=lttng-tools
version=2.10.6
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=f05df52bbebf8ce88d1b29e9e98cfc957d2ed738a345118018237ebdb581537c
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"
}
}