Subversion Repositories KardasA Overlay

Rev

Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
182 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
	econf || die "configure failed"
27
}
28
 
29
src_compile() {
30
	emake DESTDIR="${D}" || die "make failed"
31
}
32
 
33
src_install() {
34
	emake DESTDIR="${D}" install || die
35
	dodoc ../Changelog ../LICENSE README
36
	S="${S}/bindings/python"
37
	cd ${S}
38
	python setup.py install --root=${D}
39
}
40
 
41