blob: 29923a96aa4f5d66a5f49a6f07d39d8770536623 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ekg-1.6_rc3.ebuild,v 1.8 2006/10/23 19:14:53 spock Exp $
inherit eutils
IUSE="ssl ncurses readline zlib python spell threads"
DESCRIPTION="EKG (Eksperymentalny Klient Gadu-Gadu) - a text client for Polish instant messaging system Gadu-Gadu"
HOMEPAGE="http://ekg.chmurka.net/"
SRC_URI="http://ekg.chmurka.net/${P/_/}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha ~amd64 hppa ia64 ~mips ppc ~sparc x86"
S="${WORKDIR}/${P/_/}"
RDEPEND="net-libs/libgadu
ssl? ( >=dev-libs/openssl-0.9.6 )
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
zlib? ( sys-libs/zlib )
python? ( dev-lang/python )
spell? ( >=app-text/aspell-0.50.3 )"
DEPEND=">=sys-devel/automake-1.7
>=sys-devel/autoconf-2.50
${RDEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-libgadu.patch
autoreconf
}
src_compile() {
local myconf="--enable-ioctld --disable-static --enable-dynamic"
if use ncurses; then
myconf="$myconf --enable-force-ncurses"
else
myconf="$myconf --disable-ui-ncurses"
fi
use readline && myconf="$myconf --enable-ui-readline"
use zlib || myconf="$myconf --disable-zlib"
use ssl || myconf="$myconf --disable-openssl"
use python && myconf="$myconf --with-python"
use spell && myconf="$myconf --enable-aspell"
use threads && myconf="$myconf --with-pthread"
econf ${myconf} || die
emake || die
}
src_install() {
einstall || die
dodoc docs/* docs/api/*
}
|