# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.13.ebuild,v 1.5 2007/08/28 14:51:03 nixnut Exp $ inherit eutils toolchain-funcs DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface" HOMEPAGE="http://gaim-libnotify.sourceforge.net/" SRC_URI="mirror://sourceforge/gaim-libnotify/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc x86" IUSE="nls debug" DEPEND=">=x11-libs/libnotify-0.3.2" RDEPEND="net-im/pidgin ${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/pidgin-libnotify-showbutton.patch } src_compile() { local myconf myconf="$(use_enable debug) \ $(use_enable nls)" econf ${myconf} || die "configure failed" emake || die "make failed" } src_install() { make install DESTDIR=${D} || die "make install failed" dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION }