Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22191 - ebuild for detachtty - new submission
Summary: ebuild for detachtty - new submission
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-04 04:23 UTC by Shaun Morris
Modified: 2003-06-27 01:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Morris 2003-06-04 04:23:39 UTC
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
}
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-06-04 16:38:55 UTC
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.
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2003-06-27 01:04:22 UTC
This is already in portage, added by mkennedy
It is app-misc/detachtty
Closing