1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-31 11:02:29 +01:00

Added ebuilds for tmux 1.5 and patched mc (baudrate problems with urxvt and ncurses)

This commit is contained in:
root
2011-08-02 21:28:10 +02:00
parent a0b408378a
commit 16bd8a66ef
5 changed files with 163 additions and 0 deletions

2
app-misc/tmux/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST tmux-1.5.tar.gz 374093 RMD160 08eec02bcbd91b3c37a36a05167f3758e7911973 SHA1 e26132f02f344f8d6d06ae87d11f6a7aad880f67 SHA256 eb8215b57c05b765d2446d9acb2bc5edcdb3eb4ea31af89ee127a27e90056306
EBUILD tmux-1.5.ebuild 2087 RMD160 8ff2ec0ea195814668094aaeccefe0b284fc8ef8 SHA1 1e19b91628eba0ed5f0852c41d49ed271ad17d92 SHA256 b2df6e2b2f3984d59e2a711faafda36f12e39bfdbe5732c1795d860721000f77

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.4.ebuild,v 1.7 2011/07/02 20:15:33 nixnut Exp $
EAPI=3
inherit toolchain-funcs
DESCRIPTION="Terminal multiplexer"
HOMEPAGE="http://tmux.sourceforge.net"
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="vim-syntax"
DEPEND="
|| ( >=dev-libs/libevent-2.0.10 <dev-libs/libevent-2 )
sys-libs/ncurses"
RDEPEND="${DEPEND}
vim-syntax? ( || (
app-editors/vim
app-editors/gvim ) )"
pkg_setup() {
if has_version "<app-misc/tmux-1.3"; then
echo
ewarn "Commands 'up-pane', 'down-pane' and 'select-prompt' were removed in version 1.3."
ewarn "You may want to update your configuration file accordingly to avoid errors on"
ewarn "tmux startup."
ewarn
ewarn "For the full Changelog, together with details on what replaced the above"
ewarn "commands, visit http://tmux.cvs.sourceforge.net/viewvc/tmux/tmux/CHANGES."
ewarn
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
ewarn "running 1.2 tmux server instances. You'll have to use an existing client to"
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
ewarn "to temporarily downgrade to tmux 1.2 to access them."
echo
fi
}
src_configure() {
# The configure script isn't created by GNU autotools.
./configure || die "configure failed"
}
src_compile() {
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
dobin tmux || die "dobin failed"
dodoc CHANGES FAQ NOTES TODO || die "dodoc failed"
docinto examples
dodoc examples/*.conf || die "dodoc examples failed"
doman tmux.1 || die "doman failed"
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax
doins examples/tmux.vim || die "doins syntax failed"
insinto /usr/share/vim/vimfiles/ftdetect
doins "${FILESDIR}"/tmux.vim || die "doins ftdetect failed"
fi
}