summaryrefslogtreecommitdiff
blob: a6c46efa196acd349f7dfb3c75871797568e6205 (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
46
47
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Philippe Namias <pnamias@gentoo.org>
# /home/cvsroot/gentoo-x86/kde-base/kdenetwork/kinkatta-1.00.ebuild v 1 2001/08/29

S=${WORKDIR}/${P}
DESCRIPTION="KDE AIM Messenger"
SRC_PATH="kinkatta/${P}.tar.gz"
SRC_URI="http://ftp1.sourceforge.net/$SRC_PATH"

HOMEPAGE="http://kinkatta.sourceforge.org"

DEPEND=">=x11-libs/qt-x11-2.2
		>=kde-base/kdebase-${PV}
 		objprelink? ( dev-util/objprelink )"

RDEPEND=$DEPEND

src_unpack() {

	cd ${WORKDIR}
	unpack ${P}.tar.gz
	cd ${S}
	if [ "`use objprelink`" ] ; then
	patch -p0 < ${DISTDIR}/kde-admin-acinclude.patch
	fi
}

src_compile() {
    local myconf
    if [ "`use qtmt`" ]
    then
      myconf="--enable-mt"
    fi
      myconf="$myconf --enable-mitshm"
	if [ "`use objprelink`" ] ; then
	  myconf="$myconf --enable-objprelink"
	fi
    ./configure --host=${CHOST} \
                --with-xinerama $myconf || die
    make || die
}

src_install() {
  try make install DESTDIR=${D}
  dodoc AUTHORS COPYING README
}