# Template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.10.7
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=f049428d3d131e103a7a7038d184731bf7bcdce00503fc19a2c9b5693ecbb3b5

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
}
