2012-02-06 16:39:49 +04:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
inherit toolchain-funcs
|
|
|
|
|
|
|
|
MY_P="${P/-/_}"
|
|
|
|
|
|
|
|
DESCRIPTION="Attach/detach from interactive processes across the network"
|
|
|
|
HOMEPAGE="http://packages.debian.org/unstable/admin/detachtty"
|
|
|
|
SRC_URI="mirror://debian/pool/main/d/${PN}/${MY_P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ppc ~sparc x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin detachtty attachtty || die
|
|
|
|
doman detachtty.1 || die
|
|
|
|
dosym /usr/share/man/man1/detachtty.1 /usr/share/man/man1/attachtty.1
|
|
|
|
dodoc INSTALL README || die
|
|
|
|
}
|