summaryrefslogtreecommitdiff
path: root/recipes/libwiimote/libwiimote_0.4.bb
blob: ea794940dd8ea15e96882c7e57b7eb54dac1af9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "wiimote access library"
LICENSE = "GPLv2"
HOMEPAGE = "http://sourceforge.net/projects/libwiimote/"

PR = "r1"

inherit autotools

DEPENDS = "bluez-libs"

SRC_URI = "${SOURCEFORGE_MIRROR}/libwiimote/libwiimote-${PV}.tgz"

do_configure_append() {
	find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
 	find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
}