meta-netmodule-distro/recipes-tools/scripts-nm/json2textlog_git.bb

28 lines
672 B
BlitzBasic

SUMMARY = "NetModule Json to Text Log Conversion"
DESCRIPTION = "Scripts providing different features"
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=45fbf6e6933c4d44b632377e741f6b70"
SRC_URI = "git://git.netmodule.intranet/nm-tools/json2textlog.git;protocol=ssh;user=gitea;branch=develop"
SRCREV = "${AUTOREV}"
PV = "0.0.1+git${SRCPV}"
RDEPENDS_${PN} = "python3 python3-jsonlines"
S = "${WORKDIR}/git"
PACKAGES = "${PN}"
do_install() {
install -d ${D}${bindir}
install -m 644 ${S}/logconversion.py ${D}${bindir}/
}
FILES_${PN} = " \
${bindir}/logconversion.py \
"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"