Here is an ebuild for detachtty. Detachtty is a program that lets you run interactive programs across sessions, similarly to "screen" Reproducible: Always Steps to Reproduce: 1. 2. 3. inherit eutils DESCRIPTION="detachtty lets you run interactive programs non-interactively, and connect to them over the network when you do need to interact with them." SRC_URI="ftp://ftp.linux.org.uk/pub/lisp/detachtty_6.tar.gz" HOMEPAGE="http://ww.telent.net/cliki/detachtty" KEYWORDS="x86" src_unpack() { unpack ${A} cd ${S} cp Makefile Makefile.orig sed -e "s:/usr/local/bin:${D}usr/bin/:" Makefile.orig > Makefile } src_compile() { emake || die } src_install() { dobin attachtty dobin detachtty doman detachtty.1 dodoc README }
May I suggest DEPEND=">=sys-apps/sed-4" and sed -i instead of cp/sed. That will just save me coming through later and doing that myself.
This is already in portage, added by mkennedy It is app-misc/detachtty Closing