# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="This software will allow you to program your Logitech Harmony universal remote control!" HOMEPAGE="http://www.phildev.net/harmony" SRC_URI="mirror://sourceforge/concordance/${P}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="" src_compile() { cd libconcord econf || die "configure for libconcord failed!" emake || die "make for libconcord failed!" cd "${WORKDIR}/${P}/concordance" econf || die "configure for concordance failed!" emake CFLAGS="${CFLAGS} -I${WORKDIR}/${P}/libconcord" LDFLAGS="${LDFLAGS} -L${WORKDIR}/${P}/libconcord" || die "make for concordance failed!" } src_install() { cd libconcord emake DESTDIR="${D}" install || die "Install failed" cd "${WORKDIR}/${P}/concordance" emake DESTDIR="${D}" install || die "Install failed" }