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

Contents of /net-im/licq/licq-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Feb 7 12:05:57 2003 UTC (14 years, 10 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.3.ebuild,v 1.1 2003/01/10 13:34:03 hannes 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
19 use kde && inherit kde-base
20 use kde && need-kde 3.0
21
22 src_compile() {
23
24 local first_conf
25 use ssl || first_conf = "${first_conf} --disable-openssl"
26 use socks5 && first_conf = "${first_conf} --enable-socks5"
27
28 ./configure --host=${CHOST} --prefix=/usr ${first_conf} || die
29 emake || die
30
31 if [ "`use qt`" ]
32 then
33 # A hack to build against the latest QT:
34 local v
35 for v in /usr/qt/[0-9]
36 do
37 [ -d "${v}" ] && export QTDIR="${v}"
38 done
39 use kde && kde_src_compile myconf
40 use kde && second_conf="${second_conf} ${myconf} --with-kde"
41
42 # note! watch the --prefix=/usr placement;
43 # licq itself installs into /usr, but the
44 # optional kde/qt interface (to which second_conf belogns)
45 # installs its files in $KDE3DIR/{lib,share}/licq
46
47 cd plugins/qt-gui
48 ./configure --host=${CHOST} ${second_conf} --prefix=/usr || die
49 emake || die
50 fi
51
52 }
53
54 src_install() {
55
56 cd ${S}
57 make DESTDIR=${D} install || die
58 if [ "`use qt`" ]
59 then
60 cd plugins/qt-gui
61 make DESTDIR=${D} install || die
62 fi
63
64 }

  ViewVC Help
Powered by ViewVC 1.1.20