summaryrefslogtreecommitdiff
path: root/recipes/cwiid/cwiid_0.6.00.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cwiid/cwiid_0.6.00.bb')
-rw-r--r--recipes/cwiid/cwiid_0.6.00.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes/cwiid/cwiid_0.6.00.bb b/recipes/cwiid/cwiid_0.6.00.bb
new file mode 100644
index 0000000000..2f7f93d062
--- /dev/null
+++ b/recipes/cwiid/cwiid_0.6.00.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "wiimote library + tools"
+LICENSE = "GPLv2"
+HOMEPAGE = "http://abstrakraft.org/cwiid/"
+
+PR = "r0"
+
+inherit autotools
+inherit distutils-base
+
+export BUILD_SYS
+export HOST_SYS
+
+PARALLEL_MAKE = ""
+
+SRC_URI = "http://abstrakraft.org/cwiid/downloads/cwiid-${PV}.tgz"
+
+EXTRA_OECONF = "--disable-ldconfig"
+
+FILES_${PN} += "\
+ /etc/cwiid/wminput/buttons \
+ /etc/cwiid/wminput/acc_ptr \
+ /etc/cwiid/wminput/ir_ptr \
+ /etc/cwiid/wminput/default \
+ /etc/cwiid/wminput/nunchuk_acc_ptr \
+ /etc/cwiid/wminput/neverball \
+ /etc/cwiid/wminput/gamepad \
+"
+
+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
+}
+
+