Skip to contentSkip to conversation

reptyr: Add 0.10.0

PATCH New Alex Kiernan 1 participant 1 message Nov 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reptyr: Add 0.10.0

reptyr is a utility for taking an existing running program and attaching it to a new terminal.

---

 .../recipes-support/reptyr/reptyr_0.10.0.bb   | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb
meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb new file +29 -0
new file mode 100644
index 000000000000..57b31a78d9f5
@@ -0,0 +1,29 @@
+SUMMARY = "Reparent a running program to a new terminal"
+DESCRIPTION = "reptyr is a utility for taking an existing running program and \
+attaching it to a new terminal. Started a long-running process over ssh, but \
+have to leave and don't want to interrupt it? Just start a screen, use reptyr \
+to grab it, and then kill the ssh session and head on home."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=25a0555028c71837623fa6dfa4cc45c0"
+
+SRC_URI = "git://github.com/nelhage/reptyr.git;protocol=https;branch=master"
+SRCREV = "1238097fc2cd15db058d2185cc4985daa87bcd41"
+
+S = "${WORKDIR}/git"
+
+inherit bash-completion github-releases manpages pkgconfig
+
+GITHUB_BASE_URI = "https://github.com/nelhage/${BPN}/releases/"
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[manpages] = ""
+
+EXTRA_OEMAKE = "'BINDIR=${bindir}' 'MANDIR=${mandir}' 'PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config'"
+
+do_compile () {
+	oe_runmake
+}
+
+do_install () {
+	oe_runmake install 'DESTDIR=${D}'
+}
Signature · 1 line
2.39.0