void-packages/srcpkgs/lttng-modules-dkms/template

22 lines
716 B
Bash

# Template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.12.4
revision=1
wrksrc="lttng-modules-${version}"
depends="dkms"
short_desc="LTTng modules provide Linux kernel tracing capability"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="LGPL-2.1-only, GPL-2.0-only, MIT"
homepage="https://lttng.org"
distfiles="${homepage}/files/lttng-modules/lttng-modules-${version}.tar.bz2"
checksum=fe66400fa1b85bff1b9ae24419c74e3bb7d358d643eade0594d81b48bd190688
dkms_modules="lttng-modules ${version}"
do_install() {
vmkdir usr/src/lttng-modules-${version}
vcopy "*" usr/src/lttng-modules-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/lttng-modules-${version}
vlicense LICENSE
}