SECTION = "unknown"
PR = "r2"
PV = "0.0cvs${CVSDATE}"

SRC_URI = "cvs://anonymous@cvs1.sourceforge.net/cvsroot/linuxconsole;module=ruby \
	file://serio.h \
	file://makefile.patch;patch=1;pnum=0 \
	file://snes232.patch;patch=1;pnum=0"
LICENSE = "GPL"

S = "${WORKDIR}/ruby/utils"

CFLAGS =+ "-I. -I../linux/include -I../ruby-2.6/include"

do_configure() {
	install -d linux
	install -m 0644 ${WORKDIR}/serio.h linux/
}

do_install() {
	install -d ${D}${sbindir}
	install evtest inputattach jstest jscal fftest ${D}${sbindir}
}