aboutsummaryrefslogtreecommitdiff
path: root/recipes/libwiimote/libwiimote_0.4.bb
blob: 3e3a01f5caed83129e46f32710180c2246e0675a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}



SRC_URI[md5sum] = "0d8d61dc989d8ad83e1005a26136d388"
SRC_URI[sha256sum] = "a1e9d45a0d4dd367f1371dd477e30ecaa95e59b9fb8635dc9e7f26e4eb231d90"