blob: 1d674e2330bff110f789a9fe9e4c1a6f2afaae52 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gtk+licq/gtk+licq-0.51-r2.ebuild,v 1.9 2002/11/08 22:03:45 seemant Exp $
IUSE="nls spell gnome"
S=${WORKDIR}/${P}
DESCRIPTION="GTK+ interface for Licq, the KDE/QT ICQ client"
SRC_URI="http://gtk.licq.org/download/${P}.tar.gz"
HOMEPAGE="http://gtk.licq.org"
DEPEND="sys-devel/perl
=x11-libs/gtk+-1.2*
>=net-im/licq-1.0.2
gnome? ( >=gnome-base/gnome-core-1.4.0.4-r1 )
spell? ( app-text/aspell )"
RDEPEND="nls? ( sys-devel/gettext )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
src_compile() {
local myconf
local myprefix
use gnome || myconf="--disable-gnome"
use spell || myconf="${myconf} --disable-pspell"
use nls || myconf="${myconf} --disable-nls"
CXXFLAGS="${CXXFLAGS} `orbit-config --cflags client`"
econf \
--with-licq-includes=/usr/include/licq \
${myconf} || die
emake || die
}
src_install() {
local myprefix
myprefix="usr"
make prefix=${D}/${myprefix} install || die
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
dodir /usr/lib/licq
cd ${D}/usr/lib/licq
ls ../../../${myprefix}/lib/licq
ln -s ../../../${myprefix}/lib/licq/* .
}
|