blob: fe3a85bb5c87ddd31d332f3f7cd91e4bfd8b9709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils subversion autotools
ESVN_REPO_URI="https://libwiimote.svn.sourceforge.net/svnroot/${PN}/branches/ant"
ESVN_PROJECT="libwiimote"
DESCRIPTION="Library to connect to the Nintendo Wii remote (svn snapshot)"
HOMEPAGE="http://libwiimote.sourceforge.net"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="examples"
RDEPEND="|| ( net-wireless/bluez-libs net-wireless/bluez )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
subversion_src_unpack
epatch "${FILESDIR}/${P}-ldflags.patch"
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README TODO || die "dodoc failed"
if use examples; then
docinto examples
dodoc test/test?.c || die "dodoc examples failed"
fi
}
|