summaryrefslogtreecommitdiff
path: root/packages/cwiid/cwiid_0.6.00.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-01-24 21:22:15 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-01-24 21:22:15 +0100
commitcc6c7c1e02f587b97b779bf68a89cb695e06f4a7 (patch)
treee5135567aefed74270a7d64a596cb38076cfc0a7 /packages/cwiid/cwiid_0.6.00.bb
parent96fcb64421e34fe8437625a8511f322b0f127dbf (diff)
cwiid: created package; wiimote support; requires uinput in kernel or as loaded module
requires bluetooth
Diffstat (limited to 'packages/cwiid/cwiid_0.6.00.bb')
-rw-r--r--packages/cwiid/cwiid_0.6.00.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/cwiid/cwiid_0.6.00.bb b/packages/cwiid/cwiid_0.6.00.bb
new file mode 100644
index 0000000000..c35676e465
--- /dev/null
+++ b/packages/cwiid/cwiid_0.6.00.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "wiimote library + tools"
+LICENSE = "GPLv2"
+
+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
+}
+
+