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

24 lines
711 B
Bash

# Template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.13.7
revision=1
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=5a99679df7903160cbde3918fee5af90ffafc90fc96ccdefaa57cf230492b234
dkms_modules="lttng-modules ${version}"
do_build() {
sed "/^PACKAGE_VERSION/s/=.*/=$version/" ${FILESDIR}/dkms.conf >dkms.conf
}
do_install() {
vmkdir usr/src/lttng-modules-${version}
vcopy "*" usr/src/lttng-modules-${version}
vlicense LICENSE
}