void-packages/srcpkgs/qrtr-ns/template

26 lines
659 B
Bash

# Template file for 'qrtr-ns'
pkgname=qrtr-ns
version=1.0
revision=1
build_style=gnu-makefile
short_desc="Userspace reference for net/qrtr in the Linux kernel"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/andersson/qrtr"
distfiles="https://github.com/andersson/qrtr/archive/v${version}.tar.gz"
checksum=dc5db4872ff0d3c43b5c6d115fadc94f393c9c8c89b4246e327853b466d6c49f
post_install() {
vlicense LICENSE
vsv qrtr-ns
}
qrtr-ns-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}