2010-10-31 16:59:13 +02:00
# Copyright (C) 2010 tuxbrain.com
#
# This is free software, licensed under the GNU General Public License v2.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := keymouse
PKG_VERSION := 1.0
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := http://download2.berlios.de/keymouse
PKG_CAT := bzcat
PKG_BUILD_DEPENDS := libX11
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / k e y m o u s e
TITLE:= Just a simple mouse emulator
SECTION:= utils
CATEGORY:= Utilities
URL:= http://keymouse.berlios.de
e n d e f
PKG_BUILD_DIR := $( BUILD_DIR) /keymouse-$( PKG_VERSION)
d e f i n e P a c k a g e / k e y m o u s e / d e s c r i p t i o n
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
e n d e f
d e f i n e B u i l d / C o n f i g u r e
( cd " $( PKG_BUILD_DIR) " ; ./autogen.sh ) ;
$( call Build/Configure/Default)
e n d e f
d e f i n e P a c k a g e / k e y m o u s e / i n s t a l l
2010-11-20 16:57:10 +02:00
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /etc $( 1) /etc/init.d
2010-10-31 16:59:13 +02:00
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/keymouse $( 1) /usr/bin/
2010-11-20 16:57:10 +02:00
$( INSTALL_DATA) $( FILES_DIR) /keymouse.cfg $( 1) /etc/
$( INSTALL_BIN) $( FILES_DIR) /keymouse.ini $( 1) /etc/init.d/keymouse
2010-10-31 16:59:13 +02:00
e n d e f
$( eval $ ( call BuildPackage ,keymouse ) )