# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-im/everybuddy/everybuddy-0.4.3.ebuild,v 1.6 2003/02/13 14:07:48 vapier Exp $ IUSE="arts esd gnome nls" S=${WORKDIR}/${P} DESCRIPTION="Are you talking to me? - MSN, Jabber, IRC, ICQ, AIM, SMTP instant messenger" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" HOMEPAGE="http://ayttm.sourceforge.net" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND="=x11-libs/gtk+-1.2* media-libs/audiofile arts? ( >=kde-base/arts-1.0.0 ) gnome? ( >=gnome-base/gnome-libs-1.4.1.7 ) esd? ( >=media-sound/esound-0.2.28 )" src_compile() { local myconf="--enable-smtp --enable-xft" use arts \ && myconf="--enable-arts" \ || myconf="--disable-arts" use esd \ && myconf="${myconf} --enable-esd" \ || myconf="${myconf} --disable-esd" use gnome \ && myconf="${myconf} --with-gnome" \ || myconf="${myconf} --without-gnome" use nls \ && myconf="${myconf} --enable-nls" \ || myconf="${myconf} --disable-nls" econf ${myconf} || die emake || die } src_install () { einstall || die dodoc AUTHORS NEWS README TODO COPYING ChangeLog }