OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | DEPENDS:=@BROKEN |
| 25 | endef |
| 26 | PKG_BUILD_DIR:=$(BUILD_DIR)/keymouse-$(PKG_VERSION) |
| 27 | |
| 28 | define Package/keymouse/description |
| 29 | 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 |
| 30 | endef |
| 31 | |
| 32 | define Build/Configure |
| 33 | (cd "$(PKG_BUILD_DIR)"; ./autogen.sh ); |
| 34 | $(call Build/Configure/Default) |
| 35 | |
| 36 | endef |
| 37 | define Package/keymouse/install |
| 38 | $(INSTALL_DIR) $(1)/usr/bin |
| 39 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/keymouse $(1)/usr/bin/ |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call BuildPackage,keymouse)) |
| 43 |
