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.2
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=df50bc3bd58679705714f17721acf619a8b0cedc694f8a97052aa5099626feca
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
}