Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add joystick_1.6.1.bb (later than v1.6.0 provided by Ubuntu bionic)
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
- Loading branch information
1 parent
551cb76
commit ee3a3f6
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
DESCRIPTION = "Linux Console tools, which include utilities to test and configure joysticks, connect legacy devices to the kernel's input subsystem (providing support for serial mice, touchscreens etc.), and test the input event layer." | ||
|
||
LICENSE = "GPL-2" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
|
||
SRC_URI = "${SOURCEFORGE_MIRROR}/linuxconsole/linuxconsoletools-${PV}.tar.bz2" | ||
SRC_URI[md5sum] = "d6d470394984489855ce839d045aa5eb" | ||
SRC_URI[sha256sum] = "e9d6b05a6c57c7eb3ec7f9f017f46b20e4b55d5a02f930eff1823a13921c5934" | ||
|
||
S = "${WORKDIR}/linuxconsoletools-${PV}" | ||
|
||
do_compile_prepend() { | ||
# drop ffmvforce so that we don't need libsdl | ||
sed '/^PROGRAMS/s/ffmvforce *//g' -i ${S}/utils/Makefile | ||
} | ||
|
||
do_install() { | ||
oe_runmake install DESTDIR=${D} PREFIX=${prefix} | ||
} | ||
|
||
PACKAGES =+ "${PN}-jscal" | ||
|
||
FILES_${PN}-jscal = " \ | ||
${datadir}/joystick \ | ||
${bindir}/jscal-restore \ | ||
${bindir}/jscal-store \ | ||
" | ||
|
||
RDEPENDS_${PN}-jscal = "bash busybox gawk" |