summaryrefslogtreecommitdiff
path: root/packages/libwiimote
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libwiimote')
-rw-r--r--packages/libwiimote/libwiimote_0.4.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/libwiimote/libwiimote_0.4.bb b/packages/libwiimote/libwiimote_0.4.bb
new file mode 100644
index 0000000000..8bb76192f0
--- /dev/null
+++ b/packages/libwiimote/libwiimote_0.4.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "wiimote access library"
+LICENSE = "GPLv2"
+
+PR = "r0"
+
+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
+}
+
+