summaryrefslogtreecommitdiffstats
path: root/recipes/cwiid/cwiid_git.bb
blob: a06039f5fbb418683ca82061a1e20f87c3f988ed (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
DESCRIPTION = "wiimote library + tools"
LICENSE = "GPLv2"
HOMEPAGE = "http://abstrakraft.org/cwiid/"

SRCREV = "fadf11e89b579bcc0336a0692ac15c93785f3f82"
PV = "0.6.00+gitr${SRCREV}"

inherit autotools
inherit distutils-base

export BUILD_SYS
export HOST_SYS

PARALLEL_MAKE = ""

SRC_URI = "git://github.com/abstrakraft/cwiid.git;protocol=git"
S = "${WORKDIR}/git"

EXTRA_OECONF = "--disable-ldconfig"

FILES_${PN} += "\
	${sysconfdir}/cwiid/ \
"

FILES_${PN}-dbg += "\
	${libdir}/cwiid/plugins/.debug \
"

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
}