Add gnssm-mgr

BugzID: 63624
This commit is contained in:
Alexandre Bard 2020-06-25 16:58:16 +02:00
parent 23de70f4da
commit 415028fbdc
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
DESCRIPTION = "NetModule GNSS management tool"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
RDEPENDS_${PN} += " \
python3-setuptools \
ubxlib \
python3-systemd \
"
DEPENDS = "python3-setuptools-git-version-native"
inherit setuptools3
inherit gitpkgv
inherit systemd
SYSTEMD_SERVICE_${PN} = "gnss-mgr.service"
inherit allarch
# Package Version (built from tags)
PKGV = "${GITPKGVTAG}"
# Recipe Version
PV = "1.0-git${SRCPV}"
PR = "r1"
SRC_URI = "git://gitlab.com/netmodule/tools/gnssmgr.git;protocol=ssh;user=git;branch=master"
SRCREV ?= "${AUTOREV}"
S = "${WORKDIR}/git"
do_install_append() {
install -d ${D}${sysconfdir}/gnss
install -m 0644 ${S}/config/gnss-neom8.conf ${D}${sysconfdir}/gnss/
install -d ${D}/${systemd_unitdir}/system/
install -m 0644 ${S}/systemd/gnss-mgr.service ${D}/${systemd_unitdir}/system/
}