[Mud-builder-commits] r117 - in trunk/packages: . patch
keesj at garage.maemo.org
keesj at garage.maemo.org
Sun Feb 4 19:11:07 EET 2007
Author: keesj
Date: 2007-02-04 19:11:05 +0200 (Sun, 04 Feb 2007)
New Revision: 117
Added:
trunk/packages/cwiid.xml
trunk/packages/patch/cwiid.patch
Log:
keesj:cwiid C based client for the WII remote! tested with the N770 and the wgui works , did not test the uinput
Added: trunk/packages/cwiid.xml
===================================================================
--- trunk/packages/cwiid.xml 2007-02-01 20:38:48 UTC (rev 116)
+++ trunk/packages/cwiid.xml 2007-02-04 17:11:05 UTC (rev 117)
@@ -0,0 +1,10 @@
+<package>
+ <fetch type="tarball">
+ <url>http://www.abstrakraft.org/CWiid-0.4.01.tgz</url>
+ </fetch>
+ <deb>
+ <icon>http://www.wiili.org/favicon.ico</icon>
+ <description>CWiid is a Linux interface to the Wiimote written in C\nCWiid is a Linux interface to the Wiimote written in C. The goal of this project is to develop a working userspace driver along with various applications implementing event drivers, multiple wiimote connectivity, gesture recognition, and other Wiimote-based functionality. The library developed for this project is (almost) a full-featured programming interface to the Wiimote.</description>
+ <section>user/libs</section>
+ </deb>
+</package>
Added: trunk/packages/patch/cwiid.patch
===================================================================
--- trunk/packages/patch/cwiid.patch 2007-02-01 20:38:48 UTC (rev 116)
+++ trunk/packages/patch/cwiid.patch 2007-02-04 17:11:05 UTC (rev 117)
@@ -0,0 +1,44 @@
+Index: common/include/app.mak
+===================================================================
+--- common/include/app.mak (revision 1)
++++ common/include/app.mak (working copy)
+@@ -3,7 +3,7 @@
+ OBJECTS = $(SOURCES:.c=.o)
+ DEPS = $(SOURCES:.c=.d)
+
+-INST_DIR ?= /usr/local/bin
++INST_DIR ?= $(DESTDIR)/bin
+
+ all: $(APP_NAME)
+
+@@ -11,6 +11,7 @@
+ $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LDLIBS)
+
+ install: $(APP_NAME)
++ mkdir -p $(INST_DIR)
+ cp $(APP_NAME) $(INST_DIR)
+
+ clean:
+Index: common/include/lib.mak
+===================================================================
+--- common/include/lib.mak (revision 1)
++++ common/include/lib.mak (working copy)
+@@ -27,14 +27,17 @@
+ install: install_header install_static install_shared
+
+ install_header:
++ mkdir -p $(INC_INST_DIR)
+ cp $(LIB_NAME).h $(INC_INST_DIR)
+
+ install_static: static
++ mkdir -p $(LIB_INST_DIR)
+ cp $(STATIC_LIB) $(LIB_INST_DIR)
+
+ install_shared: shared
++ mkdir -p $(LIB_INST_DIR)
+ cp $(SHARED_LIB) $(LIB_INST_DIR)
+- ln -sf $(SO_NAME) $(LIB_INST_DIR)/$(LINK_NAME)
++ cd $(LIB_INST_DIR) && ln -sf $(SO_NAME) $(LIB_INST_DIR)/$(LINK_NAME)
+ ldconfig
+
+ clean:
More information about the Mud-builder-commits
mailing list