blob: 9e0fc2d6f4567256db8bd608dc43e52f2b88f439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/multi-aterm/multi-aterm-0.1.ebuild,v 1.13 2005/02/05 11:16:52 hansmi Exp $
DESCRIPTION="A terminal emulator with transparency support as well as rxvt backwards compatibility like aterm, with tab support"
HOMEPAGE="http://www.nongnu.org/materm/materm.html"
SRC_URI="http://www.nongnu.org/materm/${P}.tar.gz"
IUSE="cjk"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64 ppc sparc ~alpha hppa ~mips"
DEPEND="media-libs/jpeg
media-libs/libpng
virtual/x11
>=sys-apps/sed-4"
src_compile() {
cd ${S}/src
sed -i "s:\(#define LINUX_KEYS\):/\*\1\*/:" \
feature.h
sed -i "s: KeySym keysym;: KeySym keysym = 0;:" command.c
local myconf
use cjk && myconf="--enable-kanji"
cd ${S}
econf --enable-transparency \
--enable-fading \
--enable-xterm-scroll \
--enable-half-shadow \
--enable-graphics \
--enable-mousewheel \
--with-x $myconf || die
emake || die
}
src_install () {
einstall || die
}
|