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

Contents of /net-im/licq/licq-1.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Jun 17 20:27:43 2002 UTC (16 years, 1 month ago) by danarmak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Removing old version(s)

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

  ViewVC Help
Powered by ViewVC 1.1.20