# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild,v 1.10 2008/01/07 23:09:51 tester Exp $ inherit eutils DESCRIPTION="pidgin-hotkeys is a Pidgin plugin that allows you to define global hotkeys for various actions such as toggling buddy list, fetching queued messages, opening preferences or account dialog." HOMEPAGE="http://gaim-hotkeys.sourceforge.net" SRC_URI="mirror://sourceforge/gaim-hotkeys/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc x86" IUSE="" RDEPEND="net-im/pidgin >=x11-libs/gtk+-2" DEPEND="${RDEPEND} dev-util/pkgconfig" pkg_setup() { if ! built_with_use net-im/pidgin gtk; then eerror "You need to compile net-im/pidgin with USE=gtk" die "Missing gtk USE flag on net-im/pidgin" fi } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die }