blob: 31a7663e2915c96236fb5a4f1cb2e12cb8b89ee9 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Joe Bormolini <lordjoe@bigfoot.com>
# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/gaim-0.47.ebuild,v 1.1 2001/11/02 00:33:42 lordjoe Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Gtk AOL Instant Messenger client"
SRC_URI="http://prdownloads.sourceforge.net/gaim/${P}.tar.bz2"
HOMEPAGE="http://gaim.sourceforge.net"
DEPEND=">=x11-libs/gtk+-1.2.10-r4
nls? ( sys-devel/gettext )
gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
perl? ( >=sys-devel/perl-5.6.1 )
nas? ( >=media-sound/nas-1.4.1-r1 )
esd? ( >=media-sound/esound-0.2.22-r2 )
arts? ( >=kde-base/kdelibs-2.1.1 )"
src_compile() {
local myopts
if [ "`use gnome`" ]
then
myopts="--with-gnome=${GNOME_PATH} --enable-panel --prefix=/usr"
else
myopts="--disable-gnome --disable-pixbuf --prefix=/usr"
fi
if [ -z "`use esd`" ] ; then
myopts="$myopts --disable-esd"
fi
if [ -z "`use nas`" ] ; then
myopts="$myopts --disable-nas"
fi
if [ -z "`use perl`" ] ; then
myopts="$myopts --disable-perl"
fi
if [ -z "`use arts`" ] ; then
myopts="$myopts --disable-arts"
fi
if [ -z "`use nls`" ] ; then
myopts="$myopts --disable-nls"
fi
try ./configure --host=${CHOST} ${myopts}
try emake
}
src_install () {
try make DESTDIR=${D} install
dodoc ChangeLog README README.plugins
}
|