# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/anyremote/anyremote-6.3.1.ebuild,v 1.3 2014/06/14 10:26:55 phajdan.jr Exp $ EAPI="5" DESCRIPTION="Provides wireless bluetooth, infrared or cable remote control service" HOMEPAGE="http://anyremote.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" IUSE="bluetooth dbus" RDEPEND="bluetooth? ( net-wireless/bluez ) dbus? ( sys-apps/dbus ) x11-libs/libXtst " DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( AUTHORS ChangeLog NEWS README ) src_configure() { econf --docdir="/usr/share/doc/${PF}/" $(use_enable bluetooth) $(use_enable dbus) }