libwiimote: added package
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 24 Jan 2009 10:04:48 +0000 (11:04 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 24 Jan 2009 10:04:48 +0000 (11:04 +0100)
conf/checksums.ini
packages/libwiimote/libwiimote_0.4.bb [new file with mode: 0644]

index 2b0433c..be2d642 100644 (file)
@@ -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 (file)
index 0000000..8bb7619
--- /dev/null
@@ -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
+}
+
+