You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-mobilephone/anyremote/anyremote-5.3.ebuild

33 lines
896 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/anyremote/anyremote-5.3.ebuild,v 1.3 2011/01/24 14:47:37 phajdan.jr Exp $
EAPI="2"
inherit autotools
DESCRIPTION="Anyremote 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}
dev-util/pkgconfig"
src_configure() {
econf --docdir="/usr/share/doc/${PF}/" $(use_enable bluetooth) $(use_enable dbus)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README || die "install doc failed"
}