Root/keymouse/Makefile

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
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=keymouse
9PKG_VERSION:=1.0
10PKG_RELEASE:=2
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13PKG_SOURCE_URL:=http://download2.berlios.de/keymouse
14PKG_CAT:=bzcat
15PKG_BUILD_DEPENDS:=libX11
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/keymouse
20    TITLE:=Just a simple mouse emulator
21    SECTION:=utils
22    CATEGORY:=Utilities
23    URL:=http://keymouse.berlios.de
24endef
25PKG_BUILD_DIR:=$(BUILD_DIR)/keymouse-$(PKG_VERSION)
26
27define 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
29endef
30
31define Build/Configure
32    (cd "$(PKG_BUILD_DIR)"; ./autogen.sh );
33    $(call Build/Configure/Default)
34
35endef
36define 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
41endef
42
43$(eval $(call BuildPackage,keymouse))
44

Archive Download this file



interactive