24 lines
848 B
Bash
24 lines
848 B
Bash
# Template file for 'v4l2loopback'
|
|
pkgname=v4l2loopback
|
|
version=0.13.2
|
|
revision=1
|
|
hostmakedepends="help2man"
|
|
depends="dkms"
|
|
short_desc="Kernel module to create V4L2 loopback devices"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/umlaeute/v4l2loopback"
|
|
distfiles="https://github.com/umlaeute/v4l2loopback/archive/v${version}.tar.gz"
|
|
checksum=1e57e1e382d7451aa2a88d63cc9f146eab1f425b90e76104d4c3d73127e34771
|
|
dkms_modules="v4l2loopback ${version}"
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} PREFIX=/usr install-utils install-man
|
|
vmkdir usr/src/v4l2loopback-${version}
|
|
vcopy Makefile usr/src/v4l2loopback-${version}
|
|
vcopy Kbuild usr/src/v4l2loopback-${version}
|
|
vcopy dkms.conf usr/src/v4l2loopback-${version}
|
|
vcopy "*.c" usr/src/v4l2loopback-${version}
|
|
vcopy "*.h" usr/src/v4l2loopback-${version}
|
|
}
|