aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/jlime/fnkey_1.0.bb
blob: 6f24da49a8640dbd1509665defae574b001119c5 (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 = "r1"

RDEPENDS_${PN} = "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}
}