blob: ee0e22c1505191944ef4cc4e53c9bcad74f92bed (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gnugadu/gnugadu-2.0.1.ebuild,v 1.5 2004/06/28 21:37:10 agriffis Exp $
IUSE="debug tlen esd oss xosd arts jabber perl"
MY_P="gg2-2.0.1"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="GTK-based Gadu-Gadu, Tlen and Jabber IM client"
SRC_URI="mirror://sourceforge/ggadu/${MY_P}.tar.bz2"
HOMEPAGE="http://gadu.gnu.pl/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=x11-libs/gtk+-2.2.0
sys-devel/gettext
>=sys-devel/automake-1.7
>=sys-devel/libtool-1.4
jabber? ( >=net-libs/loudmouth-0.15.1 )
xosd? ( x11-libs/xosd )
perl? ( dev-lang/perl dev-perl/XML-Parser )
arts? ( >=kde-base/arts-0.9.5 )
esd? ( media-sound/esound )
tlen? ( net-libs/libtlen )"
src_compile() {
myconf="--with-gui --with-gadu --with-remote --with-docklet_system_tray --with-docklet_dockapp --with-sms --with-update --with-external"
# use spell && myconf="${myconf} --with-gtkspell"
if use arts; then
myconf="${myconf} --with-arts --with-arts-prefix=`artsc-config --arts-prefix`"
fi
econf ${myconf} \
`use_enable debug` \
`use_with oss` \
`use_with esd` \
`use_with xosd` \
`use_with arts` \
`use_with perl` \
`use_with tlen` \
`use_with jabber` || die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS README TODO
}
|