# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.7.ebuild,v 1.3 2004/09/06 18:01:09 sekretarz Exp $ MY_P=${P/_/-} DESCRIPTION="QT version of popular in Poland Gadu-Gadu IM network" HOMEPAGE="http://kadu.net/" SRC_URI="http://kadu.net/download/stable/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="kde debug kadu-voice kadu-modules" DEPEND=">=x11-libs/qt-3.0.1 kde? ( kde-base/arts )" S=${WORKDIR}/${PN} src_compile() { local myconf use kadu-voice && myconf="${myconf} --enable-voice" use kadu-modules && myconf="${myconf} --enable-modules" use debug && myconf="${myconf} --enable-debug" econf ${myconf} || die emake || die } src_install() { make \ DESTDIR=${D} \ install || die }