# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 AUTOTOOLS_AUTORECONF=true inherit autotools-utils bash-completion-r1 flag-o-matic DESCRIPTION="Terminal multiplexer" HOMEPAGE="http://tmux.github.io/" SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" LICENSE="ISC" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug selinux vim-syntax" COMMON_DEPEND=" >=dev-libs/libevent-2.0.10 sys-libs/ncurses" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" RDEPEND="${COMMON_DEPEND} selinux? ( sec-policy/selinux-screen ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" DOCS=( CHANGES FAQ README TODO ) PATCHES=( "${FILESDIR}"/${P}-flags.patch ) pkg_setup() { if has_version "