summaryrefslogtreecommitdiff
blob: 983ae22d7ccb02c06157eef57256f7c5a36c903d (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
42
43
44
45
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-2.1.1-r1.ebuild,v 1.11 2003/02/13 14:15:39 vapier Exp $
use kde && 
use kde && inherit kde-base

S=${WORKDIR}/${P}
DESCRIPTION="A IRC Client for KDE"
SRC_URI="ftp://ftp.kvirc.net/kvirc/2.1.1/source/${P}.tar.bz2"
HOMEPAGE="http://www.kvirc.net"

DEPEND="$DEPEND virtual/glibc
        =x11-libs/qt-2.3*"

use kde && need-kde 2.1

SLOT="2"
LICENSE="kvirc"
KEYWORDS="x86"

src_unpack() {
    cd ${WORKDIR}
    unpack ${A}
}

src_compile() {
    use kde && myconf="${myconf} --with-kde-support"
    
    use kde && kde_src_compile myconf
    ./configure --mandir=/usr/share/man --infodir=/usr/share/info \
	--host=${CHOST} ${myconf} --prefix=/usr || die

    make kvirc || die
}

src_install () {
    make install DESTDIR=${D} || die
    make docs DESTDIR=${D} || die

    rm -rf ${D}/${KDEDIR}/man
    doman data/man/kvirc.1

    dodoc ChangeLog INSTALL README TODO
    
}