/[gentoo-x86]/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild
Gentoo

Contents of /x11-terms/rxvt/rxvt-2.7.10-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Fri Feb 20 14:41:26 2015 UTC (3 years, 3 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +9 -14 lines
Bump EAPI.

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key )

1 mrueg 1.12 # Copyright 1999-2015 Gentoo Foundation
2 hoffie 1.1 # Distributed under the terms of the GNU General Public License v2
3 mrueg 1.12 # $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild,v 1.11 2014/08/30 12:07:41 mgorny Exp $
4 ulm 1.8
5 mrueg 1.12 EAPI=5
6 hoffie 1.1
7 xmw 1.10 inherit eutils flag-o-matic libtool toolchain-funcs
8 hoffie 1.1
9 mrueg 1.12 DESCRIPTION="A nice small x11 terminal"
10 hoffie 1.1 HOMEPAGE="http://rxvt.sourceforge.net/
11     http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/"
12     SRC_URI="mirror://sourceforge/rxvt/${P}.tar.gz
13     http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/${P}-xim-fix.patch.gz"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17 ranger 1.6 KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
18 hoffie 1.1 IUSE="motif cjk xgetdefault linuxkeys"
19    
20 ssuominen 1.7 RDEPEND="x11-libs/libX11
21 hoffie 1.1 x11-libs/libXpm
22     x11-libs/libXext
23 ulm 1.9 motif? ( >=x11-libs/motif-2.3:0 )"
24 hoffie 1.1 DEPEND="${RDEPEND}
25     x11-proto/xproto"
26    
27 mrueg 1.12 src_prepare() {
28 xmw 1.10 tc-export AR
29    
30 mrueg 1.12 epatch "${FILESDIR}"/${P}-line-scroll.patch\
31     "${FILESDIR}"/${P}-asneeded.patch
32 hoffie 1.1 use motif && epatch "${FILESDIR}"/${P}-azz4.diff
33     if use cjk ; then
34     epatch "${DISTDIR}"/${P}-xim-fix.patch.gz
35     if use linguas_ja ; then
36     epatch "${FILESDIR}"/${P}-rk.patch
37     fi
38     fi
39    
40     epatch "${FILESDIR}"/${P}-CVE-2008-1142-DISPLAY.patch
41     elibtoolize
42     }
43    
44     src_compile() {
45     local term
46     if [ -n "${RXVT_TERM}" ] ; then
47     term="${RXVT_TERM}"
48     else
49     term="rxvt"
50     fi
51    
52     # bug #22325
53     use linuxkeys && append-flags -DLINUX_KEYS
54    
55     econf \
56     --enable-everything \
57     --enable-rxvt-scroll \
58     --enable-next-scroll \
59     --enable-xterm-scroll \
60     --enable-transparency \
61     --enable-xpm-background \
62     --enable-utmp \
63     --enable-wtmp \
64     --enable-mousewheel \
65     --enable-slipwheeling \
66     --enable-smart-resize \
67     --enable-256-color \
68     --enable-menubar \
69     $(use_enable cjk languages) \
70     --enable-xim \
71     --enable-shared \
72     --enable-keepscrolling \
73     --with-term=${term} \
74 mrueg 1.12 $(use_enable xgetdefault)
75 hoffie 1.1 }
76    
77     src_install() {
78 mrueg 1.12 emake DESTDIR="${D}" install
79 hoffie 1.1
80     cd "${S}"/doc
81     dodoc README* *.txt BUGS FAQ
82     dohtml *.html
83     }
84    
85     pkg_postinst() {
86     einfo
87     einfo "If you want to change default TERM variable other than rxvt,"
88     einfo "set RXVT_TERM environment variable and then emerge rxvt."
89     einfo "Especially, if you use rxvt under monochrome X you might need to run"
90     einfo "\t RXVT_TERM=rxvt-basic emerge rxvt"
91     einfo "otherwise curses based program will not work."
92     einfo
93     }

  ViewVC Help
Powered by ViewVC 1.1.20