2005-08-31 10:45:47 +00:00
|
|
|
SECTION = "base"
|
2010-11-26 08:54:44 +00:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING.kbd;md5=9b2d91511d3d80d4d20ac6e6b0137fe9"
|
2014-02-19 15:13:54 +00:00
|
|
|
SUMMARY = "Allows you to set-up and manipulate the Linux console"
|
2010-09-27 14:44:05 +00:00
|
|
|
DESCRIPTION = "Provides tools that enable the set-up and manipulation of the linux console and console-font files."
|
2013-02-04 09:20:18 +00:00
|
|
|
PR = "r8"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
|
2011-08-18 00:17:52 +00:00
|
|
|
file://codepage.patch \
|
|
|
|
file://configure.patch \
|
|
|
|
file://compile.patch \
|
|
|
|
file://kbdrate.patch \
|
|
|
|
file://uclibc-fileno.patch \
|
2012-10-17 12:18:12 +00:00
|
|
|
file://nodocs.patch \
|
2013-02-04 09:20:18 +00:00
|
|
|
file://fix-libconsole-linking.patch \
|
2014-04-21 10:23:00 +00:00
|
|
|
file://no-dep-on-libfl.patch \
|
2016-01-02 21:51:37 +00:00
|
|
|
file://0001-kbdtools-Include-sys-types.h-for-u_char-and-u_short-.patch \
|
2016-01-13 19:36:56 +00:00
|
|
|
file://0001-Cover-the-else-with-__GLIBC__.patch \
|
2017-02-08 09:25:36 +00:00
|
|
|
file://0001-Fix-format-security-compilation-error.patch \
|
2012-10-17 12:18:12 +00:00
|
|
|
file://lcmessage.m4 \
|
|
|
|
file://Makevars"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
2010-12-08 04:06:29 +00:00
|
|
|
SRC_URI[md5sum] = "bf21564fc38b3af853ef724babddbacd"
|
|
|
|
SRC_URI[sha256sum] = "eea6b441672dacd251079fc85ed322e196282e0e66c16303ec64c3a2b1c126c2"
|
|
|
|
|
2015-11-16 14:08:36 +00:00
|
|
|
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lct/files/console-tools-devel/"
|
|
|
|
UPSTREAM_CHECK_REGEX = "/console-tools-devel/(?P<pver>(\d\d?\.)+\d\d?)/"
|
|
|
|
|
2016-01-13 19:36:56 +00:00
|
|
|
CFLAGS_append_aarch64 = " -D_USE_TERMIOS "
|
|
|
|
|
2005-08-31 10:45:47 +00:00
|
|
|
do_configure_prepend () {
|
2012-10-17 12:18:12 +00:00
|
|
|
mkdir -p ${S}/m4
|
|
|
|
cp ${WORKDIR}/lcmessage.m4 ${S}/m4/
|
|
|
|
rm -f ${S}/acinclude.m4
|
|
|
|
cp ${WORKDIR}/Makevars ${S}/po/
|
2005-08-31 10:45:47 +00:00
|
|
|
}
|
|
|
|
|
2012-04-16 17:44:41 +00:00
|
|
|
inherit autotools gettext update-alternatives
|
2005-08-31 10:45:47 +00:00
|
|
|
|
2015-10-10 02:51:33 +00:00
|
|
|
ALTERNATIVE_PRIORITY = "30"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
2012-04-16 17:44:41 +00:00
|
|
|
bindir_progs = "chvt deallocvt fgconsole openvt"
|
2012-07-26 23:06:24 +00:00
|
|
|
ALTERNATIVE_${PN} = "${bindir_progs}"
|
2005-12-12 14:52:04 +00:00
|
|
|
|
2011-07-07 16:41:28 +00:00
|
|
|
RDEPENDS_${PN} = "bash"
|