dev-image: Add tmate

tmate is a terminal sharing tool based on tmux. It will help us
understand and help remotely
This commit is contained in:
Alexandre Bard 2019-04-11 16:49:28 +02:00
parent de7a92cdca
commit 004fa88b74
2 changed files with 27 additions and 0 deletions

View File

@ -53,5 +53,6 @@ IMAGE_INSTALL_append = " \
evtest \ evtest \
devmem2 \ devmem2 \
board-descriptor \ board-descriptor \
tmate \
" "
OSTREE_BRANCHNAME = "${MACHINE}-dev" OSTREE_BRANCHNAME = "${MACHINE}-dev"

View File

@ -0,0 +1,26 @@
SUMMARY = "Instant terminal sharing"
HOMEPAGE = "https://tmate.io/"
SECTION = "console/utils"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=f256b76d52e7b4d02bf19144bdaca107"
DEPENDS = "ncurses libevent msgpack-c libssh"
SRC_URI = "https://github.com/tmate-io/tmate/archive/2.2.1.tar.gz"
SRC_URI[md5sum] = "b4d87221d76f7d12e6771897b5940902"
SRC_URI[sha256sum] = "d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305"
inherit autotools pkgconfig
S = "${WORKDIR}/tmate-2.2.1"
PACKAGECONFIG ??= ""
PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter,"
do_configure_prepend() {
# The 'compat' directory is needed for output during the build but it's
# not automatically created when building outside the source directory.
mkdir ${B}/compat
}