diff options
Diffstat (limited to 'meta/recipes-core/kbd/kbd_2.3.0.bb')
-rw-r--r-- | meta/recipes-core/kbd/kbd_2.3.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/kbd/kbd_2.3.0.bb b/meta/recipes-core/kbd/kbd_2.3.0.bb new file mode 100644 index 0000000000..529f49bef4 --- /dev/null +++ b/meta/recipes-core/kbd/kbd_2.3.0.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Keytable files and keyboard utilities" | ||
2 | HOMEPAGE = "http://www.kbd-project.org/" | ||
3 | # everything minus console-fonts is GPLv2+ | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | ||
6 | |||
7 | inherit autotools gettext pkgconfig | ||
8 | |||
9 | DEPENDS += "flex-native" | ||
10 | |||
11 | RREPLACES_${PN} = "console-tools" | ||
12 | RPROVIDES_${PN} = "console-tools" | ||
13 | RCONFLICTS_${PN} = "console-tools" | ||
14 | |||
15 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[sha256sum] = "685056143cb8effd0a1d44b5c391eb50d80dcfd014b1a4d6e2650a28d61cb82a" | ||
19 | |||
20 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ | ||
21 | " | ||
22 | |||
23 | PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," | ||
24 | |||
25 | PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans" | ||
26 | |||
27 | FILES_${PN}-consolefonts = "${datadir}/consolefonts" | ||
28 | FILES_${PN}-consoletrans = "${datadir}/consoletrans" | ||
29 | FILES_${PN}-keymaps = "${datadir}/keymaps" | ||
30 | FILES_${PN}-unimaps = "${datadir}/unimaps" | ||
31 | |||
32 | inherit update-alternatives | ||
33 | |||
34 | ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey \ | ||
35 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'vlock','', d)}" | ||
36 | ALTERNATIVE_PRIORITY = "100" | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||