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.1
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=639c03bf8f0e920567f45c96cc7ef749a8fc29ff7fb3fb97263d67f66fb71aef
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
}