diff --git a/common/shlibs b/common/shlibs index fe74e9be840..84c47585f58 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4221,3 +4221,4 @@ libfst.so.25 openfst-1.8.2_1 libvosk.so vosk-api-0.3.43_1 libdspy-1.so.1 d-spy-1.4.0_1 libpanel-1.so.1 libpanel-1.0.1_1 +libqrtr.so.1 qrtr-ns-1.0_1 diff --git a/srcpkgs/qrtr-ns-devel b/srcpkgs/qrtr-ns-devel new file mode 120000 index 00000000000..dd4c25f0148 --- /dev/null +++ b/srcpkgs/qrtr-ns-devel @@ -0,0 +1 @@ +qrtr-ns \ No newline at end of file diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/log/run b/srcpkgs/qrtr-ns/files/qrtr-ns/log/run new file mode 120000 index 00000000000..3a5b4a58605 --- /dev/null +++ b/srcpkgs/qrtr-ns/files/qrtr-ns/log/run @@ -0,0 +1 @@ +/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/run b/srcpkgs/qrtr-ns/files/qrtr-ns/run new file mode 100644 index 00000000000..7ce1340960c --- /dev/null +++ b/srcpkgs/qrtr-ns/files/qrtr-ns/run @@ -0,0 +1,4 @@ +#!/bin/sh +[ -r conf ] && . ./conf +: ${OPTS:=-f 1} +exec qrtr-ns $OPTS diff --git a/srcpkgs/qrtr-ns/template b/srcpkgs/qrtr-ns/template new file mode 100644 index 00000000000..9ef8971dd04 --- /dev/null +++ b/srcpkgs/qrtr-ns/template @@ -0,0 +1,25 @@ +# 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 " +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" + } +}