summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/libwiimote/libwiimote_0.4.bb17
2 files changed, 21 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 2b0433cad1..be2d642b4e 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -13094,6 +13094,10 @@ sha256=20b3cbdb4b05322d470404a7d2e8cdae1e0ce5372113218ae3cada3b29da70f7
md5=478646358c49f34aedcce58948793619
sha256=6eb7040048e35448fe224fa3fd993eb4e49a905c57893886082f1674d43b0e73
+[http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz]
+md5=0d8d61dc989d8ad83e1005a26136d388
+sha256=a1e9d45a0d4dd367f1371dd477e30ecaa95e59b9fb8635dc9e7f26e4eb231d90
+
[http://ftp.gnome.org/pub/GNOME/sources/libwnck/2.10/libwnck-2.10.2.tar.bz2]
md5=d8276da50ce560c5e66ed94e4238d9ef
sha256=d03295e5cb22ed7d086ce1ce754c498ed6bc2388c45e4547417d922580d3cd7c
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
+}
+
+