aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/jlime/fnkey_1.0.bb
blob: fc09eeb4535c81c503a152f645f3aa64650bd5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Emulates Fn key by simulating multiple keypresses."
LICENSE = "GPLv2"
PR = "r0"

RDEPENDS = "xdotool"

SRC_URI = "file://fnkey.c"

do_compile() {
	mv ${WORKDIR}/fnkey.c ${S}
	${CC} -o fnkey fnkey.c -I${STAGING_INCDIR} -L${STAGING_LIBDIR}
}

do_install() {
	install -d ${D}${bindir}
	install -m 755 fnkey ${D}${bindir}
}