mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
54 lines
1.3 KiB
Bash
54 lines
1.3 KiB
Bash
SUMMARY="Control a mouse with a keyboard"
|
|
DESCRIPTION="Basic usage:
|
|
|
|
Hit and release the toggle key(s) to activate KeyCursor, then use the arrow \
|
|
keys to move the cursor.
|
|
|
|
The space bar key acts as the primary button, and if you press SHIFT while \
|
|
\"clicking\" with the space key, you get a secondary button event.
|
|
|
|
Hit again the toggle key(s) to deactivate it."
|
|
HOMEPAGE="https://github.com/HaikuArchives/KeyCursor"
|
|
COPYRIGHT="Nathan Schrenk, Oscar Lesta, Thomas Thiriez"
|
|
LICENSE="Be Sample Code License"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/HaikuArchives/KeyCursor/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="fd6739ef83362a8f6aea0172e1bff6e8cbb54e3ababf29838148f4e550e50151"
|
|
SOURCE_DIR="KeyCursor-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
keycursor = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $preferencesDir \
|
|
$addOnsDir/input_server/{devices,filters}
|
|
|
|
cp src/KeyCursor $addOnsDir/input_server/devices/KeyCursorDevice
|
|
cp src/KeyCursor $addOnsDir/input_server/filters/KeyCursorFilter
|
|
cp preflet/KeyCursor $preferencesDir
|
|
|
|
addPreferencesDeskbarSymlink $preferencesDir/KeyCursor
|
|
}
|