3 DESCRIPTION = "Allows you to set-up and manipulate the Linux console."
6 SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
7 file://codepage.patch;patch=1 \
8 file://configure.patch;patch=1 \
9 file://compile.patch;patch=1 \
10 file://kbdrate.patch;patch=1 \
13 export SUBDIRS = "fontfiletools vttools kbdtools screenfonttools contrib \
14 examples po intl compat"
17 do_configure_prepend () {
19 cp ${WORKDIR}/config/*.m4 config/
24 oe_runmake 'SUBDIRS=${SUBDIRS}'
31 mv ${D}${bindir}/chvt ${D}${bindir}/chvt.${PN}
32 mv ${D}${bindir}/deallocvt ${D}${bindir}/deallocvt.${PN}
33 mv ${D}${bindir}/openvt ${D}${bindir}/openvt.${PN}
36 pkg_postinst_${PN} () {
37 update-alternatives --install ${bindir}/chvt chvt chvt.${PN} 100
38 update-alternatives --install ${bindir}/deallocvt deallocvt deallocvt.${PN} 100
39 update-alternatives --install ${bindir}/openvt openvt openvt.${PN} 100
43 update-alternatives --remove chvt chvt.${PN}
44 update-alternatives --remove deallocvt deallocvt.${PN}
45 update-alternatives --remove openvt openvt.${PN}