Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SECTION = "base" |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING.kbd;md5=9b2d91511d3d80d4d20ac6e6b0137fe9" |
| 4 | SUMMARY = "Allows you to set-up and manipulate the Linux console" |
| 5 | DESCRIPTION = "Provides tools that enable the set-up and manipulation of the linux console and console-font files." |
| 6 | PR = "r8" |
| 7 | |
| 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \ |
| 9 | file://codepage.patch \ |
| 10 | file://configure.patch \ |
| 11 | file://compile.patch \ |
| 12 | file://kbdrate.patch \ |
| 13 | file://uclibc-fileno.patch \ |
| 14 | file://nodocs.patch \ |
| 15 | file://fix-libconsole-linking.patch \ |
| 16 | file://no-dep-on-libfl.patch \ |
| 17 | file://lcmessage.m4 \ |
| 18 | file://Makevars" |
| 19 | |
| 20 | SRC_URI[md5sum] = "bf21564fc38b3af853ef724babddbacd" |
| 21 | SRC_URI[sha256sum] = "eea6b441672dacd251079fc85ed322e196282e0e66c16303ec64c3a2b1c126c2" |
| 22 | |
| 23 | do_configure_prepend () { |
| 24 | mkdir -p ${S}/m4 |
| 25 | cp ${WORKDIR}/lcmessage.m4 ${S}/m4/ |
| 26 | rm -f ${S}/acinclude.m4 |
| 27 | cp ${WORKDIR}/Makevars ${S}/po/ |
| 28 | } |
| 29 | |
| 30 | inherit autotools gettext update-alternatives |
| 31 | |
| 32 | ALTERNATIVE_PRIORITY = "100" |
| 33 | |
| 34 | bindir_progs = "chvt deallocvt fgconsole openvt" |
| 35 | ALTERNATIVE_${PN} = "${bindir_progs}" |
| 36 | |
| 37 | RDEPENDS_${PN} = "bash" |