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

24 lines
745 B
Bash

# template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.10.5
revision=1
wrksrc="lttng-modules-${version}"
short_desc="The 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=b8dbbbee45a673c381f51b99c555e36655c3c2c7a5477aab927591cc7f003a1f
triggers="dkms"
dkms_modules="lttng-modules ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/lttng-modules-${version}
vcopy "*" usr/src/lttng-modules-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/lttng-modules-${version}
vlicense mit-license.txt
}