1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="Small program that enables you to use a Nintendo Wiimote for giving presentations"
10 HOMEPAGE="http://dag.wieers.com/home-made/wiipresent/"
11 SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2"
18 RDEPEND="=dev-libs/libwiimote-9999*"
23 "${FILESDIR}"/${PV}-include.patch \
24 "${FILESDIR}"/${PV}-LDFLAGS.patch
30 CFLAGS="${CFLAGS}" || \
31 die "compilation failed"
35 emake DESTDIR="${D}" install || die "installation failed"
36 dodoc AUTHORS ChangeLog README TODO || die "nothing to read"