summaryrefslogtreecommitdiff
blob: 570e3b528b6f102ebbbc572e8f3c8620e35e3d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Attach/detach from interactive processes across the network"
HOMEPAGE="https://github.com/cosmos72/detachtty"
SRC_URI="https://github.com/cosmos72/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

src_compile() {
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}

src_install() {
	dobin attachtty detachtty
	doman "${PN}.1"
	dosym detachtty.1 /usr/share/man/man1/attachtty.1
	einstalldocs
}