# Template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.12.6
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=95ac2a2cf92d85d23ffbdaca6a1ec0d7c167211d1e0fb850ab90004a3f475eaa

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
}
