blob: f42f70b0e3058a031dc66b8255b31e558490533a (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gaim-cvs/gaim-cvs-0.60-r1.ebuild,v 1.4 2002/10/28 16:53:27 vapier Exp $
IUSE="nas nls esd arts perl"
DESCRIPTION="GTK Instant Messenger client - CVS ebuild."
HOMEPAGE="http://gaim.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
DEPEND="=sys-libs/db-1*
!net-im/gaim
>=x11-libs/gtk+-2.0
>=dev-libs/glib-2.0
esd? ( >=media-sound/esound-0.2.22-r2 )
nls? ( sys-devel/gettext )
nas? ( >=media-libs/nas-1.4.1-r1 )
arts? ( >=kde-base/arts-0.9.5 )
perl? ( >=sys-devel/perl-5.6.1 )"
inherit cvs
ECVS_SERVER="cvs.gaim.sourceforge.net:/cvsroot/gaim"
ECVS_MODULE="gaim"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}
src_compile() {
local myconf
use esd || myconf="--disable-esd"
use perl || myconf="${myconf} --disable-perl"
use nas && myconf="${myconf} --enable-nas" \
|| myconf="${myconf} --disable-nas"
if [ "` use arts`" ]; then
inherit kde-functions
set-kdedir 3
# $KDEDIR now points to arts location
else
myconf="${myconf} --disable-artsc"
fi
use nls || myconf="${myconf} --disable-nls"
./autogen.sh ${myconf} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc ABOUT-NLS AUTHORS HACKING INSTALL NEWS README TODO
}
|