summaryrefslogtreecommitdiff
blob: 6d79be36fce221329245fa7c27e2b43aee777e65 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.7.ebuild,v 1.3 2003/02/13 14:13:05 vapier Exp $

IUSE="ssl kde"
[ -n "`use kde`" ] && inherit kde-base
[ -n "`use kde`" ] || inherit kde-functions

LICENSE="GPL-2"
DESCRIPTION="An ICQ v8 Client. Supports File Transfer, Chat, Server-Side Contactlist, ..."
SRC_URI="http://sim.shutoff.spb.ru/${P}.tar.gz"
HOMEPAGE="http://sim.shutoff.spb.ru/"
KEYWORDS="x86"
SLOT="0"

newdepend "ssl? ( dev-libs/openssl )"

if [ -n "`use ssl`" ]; then
    myconf="$myconf --enable-openssl"
else
    myconf="$myconf --disable-openssl"
fi

if [ -n "`use kde`" ]; then
    need-kde 3
    myconf="$myconf --enable-kde"
else
    need-qt 3
    myconf="$myconf --disable-kde"
fi

src_compile() {

    [ -n "`use kde`" ] && kde_src_compile myconf
    myconf="$myconf --prefix=/usr"
    
    cd $S
    ./configure $myconf || die
    emake || die

}