OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
1 | # Copyright (C) 2010 tuxbrain.com |
2 | # |
3 | # This is free software, licensed under the GNU General Public License v2. |
4 | # |
5 | |
6 | include $(TOPDIR)/rules.mk |
7 | |
8 | PKG_NAME:=keymouse |
9 | PKG_VERSION:=1.0 |
10 | PKG_RELEASE:=2 |
11 | |
12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
13 | PKG_SOURCE_URL:=http://download2.berlios.de/keymouse |
14 | PKG_CAT:=bzcat |
15 | PKG_BUILD_DEPENDS:=libX11 |
16 | |
17 | include $(INCLUDE_DIR)/package.mk |
18 | |
19 | define Package/keymouse |
20 | TITLE:=Just a simple mouse emulator |
21 | SECTION:=utils |
22 | CATEGORY:=Utilities |
23 | URL:=http://keymouse.berlios.de |
24 | endef |
25 | PKG_BUILD_DIR:=$(BUILD_DIR)/keymouse-$(PKG_VERSION) |
26 | |
27 | define Package/keymouse/description |
28 | Just a simple mouse emulator (for Linux) that can be controlled with keyboard. Useful on laptop with broken touch pad or in absence of external mouse device.Requires uinput kernel module |
29 | endef |
30 | |
31 | define Build/Configure |
32 | (cd "$(PKG_BUILD_DIR)"; ./autogen.sh ); |
33 | $(call Build/Configure/Default) |
34 | |
35 | endef |
36 | define Package/keymouse/install |
37 | $(INSTALL_DIR) $(1)/usr/bin $(1)/etc $(1)/etc/init.d |
38 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/keymouse $(1)/usr/bin/ |
39 | $(INSTALL_DATA) $(FILES_DIR)/keymouse.cfg $(1)/etc/ |
40 | $(INSTALL_BIN) $(FILES_DIR)/keymouse.init $(1)/etc/init.d/keymouse |
41 | endef |
42 | |
43 | $(eval $(call BuildPackage,keymouse)) |
44 |