summaryrefslogtreecommitdiff
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
parent96fcb64421e34fe8437625a8511f322b0f127dbf (diff)
cwiid: created package; wiimote support; requires uinput in kernel or as loaded module
requires bluetooth
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/cwiid/cwiid_0.6.00.bb37
2 files changed, 41 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index cd823d1a56..afd2218975 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -3626,6 +3626,10 @@ sha256=52783a5b8bd195b1fa50453dfd5949e23a787d0db56f6acd3bbd92aad0f486fe
md5=41396dfe38c3c9f80de98ea53e6d55aa
sha256=00383a2c79ea0956b2d4adb772895648ea774f46186d3e19a2f263c73a846963
+[http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz]
+md5=8d574afdeedc5e5309c87a72d744316a
+sha256=8880378303d872ea65b037184ad6c96bc68f87764b503c152032f56344b5e81d
+
[https://garage.maemo.org/frs/download.php/939/cx3110x-1.1.tar.gz]
md5=18e5dc522aa9424cf9b32b86da19b85e
sha256=b0e00a7c164711512549d3ad82707c53a20fd978c2448ec22d2ea76df1954eee
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
+}
+
+