switchtec-user: add new recipe

switchtec-user provides an easy to use CLI and C library for
communicating with Microsemi's Switchtec management interface.

https://github.com/Microsemi/switchtec-user/

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Christophe Vu-Brugier
2023-05-26 14:21:34 +02:00
committed by Khem Raj
parent 829dcb63f0
commit db5e11c890
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,23 @@
SUMMARY = "Easy to use CLI and C library for communicating with Microsemi's Switchtec management interface"
HOMEPAGE = "https://github.com/Microsemi/switchtec-user"
SECTION = "console/utils"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382"
DEPENDS = "ncurses openssl"
SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a"
SRC_URI = " \
git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master \
file://0001-cli-Fix-format-security-warning.patch \
"
SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LDCONFIG=\"true\""
do_install () {
oe_runmake install
}