app-misc/detachtty: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 4 Mar 2017 22:59:55 +0000 (23:59 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 4 Mar 2017 22:59:55 +0000 (23:59 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-misc/detachtty/detachtty-9-r1.ebuild [new file with mode: 0644]

diff --git a/app-misc/detachtty/detachtty-9-r1.ebuild b/app-misc/detachtty/detachtty-9-r1.ebuild
new file mode 100644 (file)
index 0000000..ecb689a
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       dobin detachtty attachtty
+       doman detachtty.1
+       dosym /usr/share/man/man1/detachtty.1 /usr/share/man/man1/attachtty.1
+       dodoc INSTALL README
+}