parent
23de70f4da
commit
415028fbdc
|
|
@ -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/
|
||||
}
|
||||
Loading…
Reference in New Issue