tmate: Move to backports and use recipes from meta-oe

BugzID: 74466
This commit is contained in:
Alexandre Bard 2021-08-26 16:59:56 +02:00
parent db1d9760d0
commit 8e0ffabd0b
3 changed files with 17 additions and 34 deletions

View File

@ -0,0 +1,17 @@
SUMMARY = "Instant terminal sharing"
DESCRIPTION = "Tmate is a fork of tmux. It provides an instant pairing solution."
AUTHOR = "Marius Kriegerowski <marius.kriegerowski@gmail.com>"
HOMEPAGE = "https://tmate.io/"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://COPYING;md5=f7d9aab84ec6567139a4755c48d147fb"
DEPENDS:append = " libevent libssh msgpack-c ncurses"
SRC_URI = "\
git://github.com/tmate-io/tmate.git;protocol=https \
"
SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b"
S = "${WORKDIR}/git"
inherit pkgconfig autotools

View File

@ -1,7 +0,0 @@
#!/usr/bin/env sh
if [[ ! -f ~/.ssh/id_rsa ]]; then
echo Generating ssh key, please wait
ssh-keygen -q -f ~/.ssh/id_rsa -N ""
fi
tmate-real "$@"

View File

@ -1,27 +0,0 @@
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.4.0.tar.gz \
"
SRC_URI[md5sum] = "5571be65f5c54a35cc92ca7c9fb031c9"
SRC_URI[sha256sum] = "62b61eb12ab394012c861f6b48ba0bc04ac8765abca13bdde5a4d9105cb16138"
inherit autotools pkgconfig
S = "${WORKDIR}/tmate-2.4.0"
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
}