/[gentoo-x86]/net-im/licq/licq-1.2.0a.ebuild
Gentoo

Contents of /net-im/licq/licq-1.2.0a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Feb 7 12:05:57 2003 UTC (15 years, 3 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
all plug-ins

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-im/licq/licq-1.2.0a.ebuild,v 1.2 2002/10/05 05:39:21 drobbins Exp $
4
5 IUSE="ssl socks5 qt kde"
6
7 DESCRIPTION="ICQ Client with v8 support"
8 HOMEPAGE="http://www.licq.org"
9 LICENSE="GPL-2"
10
11 DEPEND="${DEPEND}
12 ssl? ( >=dev-libs/openssl-0.9.6 )
13 qt? ( >=x11-libs/qt-3.0.0 )"
14
15 SRC_URI="http://download.sourceforge.net/licq/${P}.tar.bz2"
16 SLOT="2"
17 KEYWORDS="x86"
18 S=${WORKDIR}/${P}
19
20 use kde && inherit kde-base
21 use kde && need-kde 3.0
22
23 src_compile() {
24
25 local first_conf
26 use ssl || first_conf = "${first_conf} --disable-openssl"
27 use socks5 && first_conf = "${first_conf} --enable-socks5"
28
29 ./configure --host=${CHOST} --prefix=/usr ${first_conf} || die
30 emake || die
31
32 if [ "`use qt`" ]
33 then
34 # A hack to build against the latest QT:
35 local v
36 for v in /usr/qt/[0-9]
37 do
38 [ -d "${v}" ] && export QTDIR="${v}"
39 done
40 use kde && kde_src_compile myconf
41 use kde && second_conf="${second_conf} ${myconf} --with-kde"
42
43 # note! watch the --prefix=/usr placement;
44 # licq itself installs into /usr, but the
45 # optional kde/qt interface (to which second_conf belogns)
46 # installs its files in $KDE3DIR/{lib,share}/licq
47
48 cd plugins/qt-gui-1.2.0
49 ./configure --host=${CHOST} ${second_conf} --prefix=/usr || die
50 emake || die
51 fi
52
53 }
54
55 src_install() {
56
57 cd ${S}
58 make DESTDIR=${D} install || die
59 if [ "`use qt`" ]
60 then
61 cd plugins/qt-gui-1.2.0
62 make DESTDIR=${D} install || die
63 fi
64
65 }

  ViewVC Help
Powered by ViewVC 1.1.20