void-packages/srcpkgs/lttng-tools/template

26 lines
805 B
Bash

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