blob: b1bde3ea7df49c3274704ff8f92105fa53d2cfba (
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
60
61
62
63
64
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.0.4-r1.ebuild,v 1.1 2002/01/09 19:13:24 danarmak Exp $
. /usr/portage/eclass/inherit.eclass || die
use kde && inherit kde-base
S=${WORKDIR}/${P}
SRC_URI="http://download.sourceforge.net/licq/${P}.tar.bz2"
DESCRIPTION="KDE/QT ICQ Client with v6 support only (UDP)"
DEPEND="$DEPEND
ssl? ( >=dev-libs/openssl-0.9.6 )"
use kde && need-kde 2.1
use kde && need-qt 2.2.2
src_unpack() {
cd ${WORKDIR}
unpack ${A}
}
src_compile() {
local first_conf
cd ${S}
make -f Makefile.cvs || die
use ssl || first_conf = "${first_conf} --disable-openssl"
use socks5 && first_conf = "${first_conf} --enable-socks5"
./configure --host=${CHOST} --prefix=/usr ${first_conf} || die
emake || die
if [ "`use qt`" ]
then
export QTDIR=/usr/qt/2
cd plugins/qt-gui-1.0.4
make -f Makefile.cvs || die
use kde && kde_src_compile myconf
use kde && second_conf="${second_conf} ${myconf} --with-kde"
# note! watch the --prefix=/usr placement; licq itself installs into /usr, but the
# optional kde/qt interface (to which second_conf belogns) installs its files in
# $KDE2DIR/{lib,share}/licq
./configure --host=${CHOST} --prefix=/usr ${second_conf} || die
emake || die
fi
}
src_install() {
cd ${S}
make DESTDIR=${D} install || die
if [ "`use qt`" ]
then
cd plugins/qt-gui-1.0.4
make DESTDIR=${D} install || die
fi
}
|