Skip to content

Commit

Permalink
app-misc/detachtty: use variables wherever possible.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
monsieurp committed Mar 4, 2017
1 parent 2033a40 commit ae92ada
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app-misc/detachtty/detachtty-9-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

DOCS=( INSTALL README )

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

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

0 comments on commit ae92ada

Please sign in to comment.