void-packages/srcpkgs/lttng-tools/template
2019-10-30 16:04:38 +01:00

27 lines
840 B
Bash

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