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

24 lines
712 B
Bash

# Template file for 'lttng-modules-dkms'
pkgname=lttng-modules-dkms
version=2.13.10
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=13abfb1ac870711f0d0adfa88e53b17deb2e3052173715a260a6ef14aa45b0a7
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
}