1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/v4l2loopback-src/APKBUILD
Krystian Chachuła fd2acb0938 testing/v4l2loopback-src: new aport
https://github.com/umlaeute/v4l2loopback
Kernel module to create V4L2 loopback devices
2021-10-10 23:04:15 +00:00

32 lines
926 B
Text

# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Krystian Chachuła <krystian@krystianch.com>
pkgname=v4l2loopback-src
_modname=v4l2loopback
pkgver=0.12.5
pkgrel=0
pkgdesc="Kernel module to create V4L2 loopback devices"
url="https://github.com/umlaeute/v4l2loopback"
arch="noarch"
license="GPL-2.0-only"
options="!check" # sources only
source="$pkgname-$pkgver.tar.gz::https://github.com/umlaeute/v4l2loopback/archive/v$pkgver.tar.gz"
builddir="$srcdir/v4l2loopback-$pkgver"
prepare() {
default_prepare
cat >AKMBUILD <<-EOF
modname=$_modname
modver=$pkgver-r$pkgrel
built_modules='v4l2loopback.ko'
EOF
}
package() {
install -D -m644 -t "$pkgdir"/usr/src/$_modname-$pkgver \
./*.c ./*.h Makefile AKMBUILD
}
sha512sums="
5fd2affbb4a7f38bb78f996179de6570b2bd69cfed2a79c4505e7ea2cdf5b65c0a6807f1f4e03f320b667f5cbe62f26fadd412bc0fec5944e4e394635bf5fb3d v4l2loopback-src-0.12.5.tar.gz
"