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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Feb 9 11:47:57 2002 UTC (15 years, 10 months ago) by verwilst
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
added SLOT to all net-im ebuilds, removed old version, and
corrected a few general bugs, like try / die and A-vars

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Bart Verwilst <verwilst@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-im/licq/licq-1.0.4.ebuild,v 1.4 2001/12/13 21:01:01 danarmak Exp $
5 . /usr/portage/eclass/inherit.eclass || die
6 use kde && inherit kde-base
7
8 SRC_URI="http://download.sourceforge.net/licq/${P}.tar.bz2"
9
10 DEPEND="$DEPEND
11 ssl? ( >=dev-libs/openssl-0.9.6 )
12 qt? ( >=x11-libs/qt-x11-2.2.2 )"
13
14 use kde && need-kdelibs 2.1
15 use kde && need-qt 2.2
16
17 src_compile() {
18 local first_conf
19
20 cd ${S}
21 make -f Makefile.cvs || die
22
23 use ssl || first_conf = "${first_conf} --disable-openssl"
24 use socks5 && first_conf = "${first_conf} --enable-socks5"
25
26 ./configure --host=${CHOST} --prefix=/usr ${first_conf} || die
27 emake || die
28
29 if [ "`use qt`" ]
30 then
31
32 cd plugins/qt-gui-1.0.4
33 make -f Makefile.cvs || die
34 use kde && kde_src_compile myconf
35 use kde && second_conf="${second_conf} ${myconf} --with-kde"
36 ./configure --host=${CHOST} --prefix=/usr ${second_conf} || die
37 emake || die
38
39 fi
40
41 }
42
43 src_install() {
44
45 cd ${S}
46 make DESTDIR=${D} install || die
47 if [ "`use qt`" ]
48 then
49 cd plugins/qt-gui-1.0.4
50 make DESTDIR=${D} install || die
51 fi
52
53 }

  ViewVC Help
Powered by ViewVC 1.1.20