# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Linux client for programming the Logitech Harmony universal remote" HOMEPAGE="http://www.phildev.net/concordance/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="" RDEPEND="=dev-libs/libconcord-${PV} \ >=dev-libs/libusb-0.1.12-r1" DEPEND="${RDEPEND}" S="${WORKDIR}/${P}/${PN}" src_compile() { econf || die "configure failed" emake DESTDIR="${D}" || die "make failed" } src_install() { emake DESTDIR="${D}" install || die dodoc ../Changelog ../LICENSE README } pkg_postinst() { einfo "Set up your remote by visiting members.harmonyremote.com." einfo "Click 'Update Remote' to receive Connectivity.EZHex, which" einfo "verifies connectivity to the remote. Run it with:" echo einfo " concordance --connectivity-test Connectivity.EZHex" echo einfo "Return to your browser and click to the next screen to receive" einfo "Update.EZHex, which contains the new configuration. Run it with:" echo einfo " concordance --write-config Update.EZHex" }