blob: 1acb82beb9dbef1611e2dce4a122e80b1cdc02b4 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-9999.ebuild,v 1.2 2005/05/07 23:17:15 vapier Exp $
ECVS_MODULE="eterm/Eterm"
ECVS_SERVER="cvs.sourceforge.net:/cvsroot/enlightenment"
inherit eutils cvs
MY_P=Eterm-${PV}
DESCRIPTION="A vt102 terminal emulator for X"
HOMEPAGE="http://www.eterm.org/"
SRC_URI=""
#http://www.eterm.org/download/${MY_P}.tar.gz
# http://www.eterm.org/download/Eterm-bg-${PV}.tar.gz
# mirror://sourceforge/eterm/${MY_P}.tar.gz
# mirror://sourceforge/eterm/Eterm-bg-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="-*"
IUSE="mmx etwin escreen"
DEPEND="virtual/x11
>=x11-libs/libast-0.6.1
media-libs/imlib2
etwin? ( app-misc/twin )
escreen? ( app-misc/screen )"
S=${WORKDIR}/${ECVS_MODULE}
src_unpack() {
cvs_src_unpack
cd "${S}"
# autogen.sh is broken so do this ourselves
#./autogen.sh || die "autogen failed"
aclocal -I . && \
autoheader && \
libtoolize -c -f && \
autoconf && \
automake -a -c || die "autotools failed"
}
src_compile() {
local mymmx
use x86 \
&& mymmx="$(use_enable mmx)" \
|| mymmx="--disable-mmx"
econf \
$(use_enable escreen) \
$(use_enable etwin) \
--with-imlib \
--enable-trans \
${mymmx} \
--enable-multi-charset \
--with-delete=execute \
--with-backspace=auto \
|| die "conf failed"
emake || die "make failed"
}
src_install() {
make \
TIC="tic -o ${D}/usr/share/terminfo" \
DESTDIR="${D}" \
install || die "install failed"
dodoc ChangeLog README ReleaseNotes
use escreen && dodoc doc/README.Escreen
dodoc bg/README.backgrounds
}
|