Subversion Repositories KardasA Overlay

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
108 kardasa 1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
4
 
5
EAPI=2
6
inherit eutils toolchain-funcs
7
 
8
MY_P="concordance-${PV}"
9
 
10
DESCRIPTION="Library for programming the Logitech Harmony universal remote; part
11
of the concordance project"
12
HOMEPAGE="http://www.phildev.net/concordance/"
13
SRC_URI="mirror://sourceforge/concordance/${MY_P}.tar.bz2"
14
 
15
LICENSE="GPL-3"
16
SLOT="0"
17
KEYWORDS="~x86 ~amd64"
18
IUSE=""
19
 
20
RDEPEND="dev-libs/libusb"
21
DEPEND="${RDEPEND}"
22
 
23
S="${WORKDIR}/${MY_P}/${PN}"
24
 
25
src_configure() {
26
	# Debian bug 594615
27
	epatch "${FILESDIR}"/${P}-flash.patch || die "patch failed"
28
 
29
	econf || die "configure failed"
30
}
31
 
32
src_compile() {
33
	emake DESTDIR="${D}" || die "make failed"
34
}
35
 
36
src_install() {
37
	emake DESTDIR="${D}" install || die
38
	dodoc ../Changelog ../LICENSE README
39
	S="${S}/bindings/python"
40
	cd ${S}
41
	python setup.py install --root=${D}
42
}
43
 
44