Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux: ChangeLog tmux-9999.ebuild
Date: Sat, 01 Jan 2011 08:25:18
Message-Id: 20110101082508.AA76E20054@flycatcher.gentoo.org
1 jlec 11/01/01 08:25:08
2
3 Modified: ChangeLog tmux-9999.ebuild
4 Log:
5 Upstream now uses autotools, #350261
6
7 (Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.54 app-misc/tmux/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 28 Oct 2010 20:55:42 -0000 1.53
23 +++ ChangeLog 1 Jan 2011 08:25:08 -0000 1.54
24 @@ -1,6 +1,9 @@
25 # ChangeLog for app-misc/tmux
26 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.53 2010/10/28 20:55:42 wired Exp $
28 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.54 2011/01/01 08:25:08 jlec Exp $
30 +
31 + 01 Jan 2011; Justin Lecher <jlec@g.o> tmux-9999.ebuild:
32 + Upstream now uses autotools, #350261
33
34 *tmux-9999 (28 Oct 2010)
35
36
37
38
39 1.2 app-misc/tmux/tmux-9999.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?r1=1.1&r2=1.2
44
45 Index: tmux-9999.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- tmux-9999.ebuild 28 Oct 2010 20:55:42 -0000 1.1
52 +++ tmux-9999.ebuild 1 Jan 2011 08:25:08 -0000 1.2
53 @@ -1,13 +1,13 @@
54 -# Copyright 1999-2010 Gentoo Foundation
55 +# Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.1 2010/10/28 20:55:42 wired Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.2 2011/01/01 08:25:08 jlec Exp $
59
60 EAPI=3
61
62 ECVS_SERVER="tmux.cvs.sourceforge.net:/cvsroot/tmux"
63 ECVS_MODULE="tmux"
64
65 -inherit cvs toolchain-funcs
66 +inherit autotools cvs
67
68 DESCRIPTION="Terminal multiplexer"
69 HOMEPAGE="http://tmux.sourceforge.net"
70 @@ -16,35 +16,34 @@
71 LICENSE="ISC"
72 SLOT="0"
73 KEYWORDS=""
74 -IUSE="vim-syntax"
75 +IUSE="debug vim-syntax"
76
77 -DEPEND="<dev-libs/libevent-2
78 +DEPEND="
79 + <dev-libs/libevent-2
80 sys-libs/ncurses"
81 RDEPEND="${DEPEND}
82 vim-syntax? ( || (
83 app-editors/vim
84 app-editors/gvim ) )"
85
86 -S="${WORKDIR}"/"${PN}"
87 +S="${WORKDIR}"/${PN}
88
89 -src_configure() {
90 - # The configure script isn't created by GNU autotools.
91 - ./configure || die "configure failed"
92 +src_prepare() {
93 + eautoreconf
94 }
95
96 -src_compile() {
97 - emake CC="$(tc-getCC)" || die "emake failed"
98 +src_configure() {
99 + econf \
100 + $(use_enable debug)
101 }
102
103 src_install() {
104 - dobin tmux || die "dobin failed"
105 + emake DESTDIR="${D}" install || die
106
107 dodoc CHANGES FAQ NOTES TODO || die "dodoc failed"
108 docinto examples
109 dodoc examples/*.conf || die "dodoc examples failed"
110
111 - doman tmux.1 || die "doman failed"
112 -
113 if use vim-syntax; then
114 insinto /usr/share/vim/vimfiles/syntax
115 doins examples/tmux.vim || die "doins syntax failed"