Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "Keytable files and keyboard utilities" |
| 2 | # everything minus console-fonts is GPLv2+ |
| 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a5fcc36121d93e1f69d96a313078c8b5" |
| 5 | DEPENDS = "libcheck" |
| 6 | |
| 7 | inherit autotools gettext ptest pkgconfig |
| 8 | |
| 9 | RREPLACES_${PN} = "console-tools" |
| 10 | RPROVIDES_${PN} = "console-tools" |
| 11 | RCONFLICTS_${PN} = "console-tools" |
| 12 | |
| 13 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[md5sum] = "231b46e7142eb41ea3ae06d2ded3c208" |
| 17 | SRC_URI[sha256sum] = "7a899de1c0eb75f3aea737095a736f2375e1cbfbe693fc14a3fe0bfb4649fb5e" |
| 18 | |
| 19 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
| 20 | PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," |
| 21 | |
| 22 | PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans" |
| 23 | |
| 24 | FILES_${PN}-consolefonts = "${datadir}/consolefonts" |
| 25 | FILES_${PN}-consoletrans = "${datadir}/consoletrans" |
| 26 | FILES_${PN}-keymaps = "${datadir}/keymaps" |
| 27 | FILES_${PN}-unimaps = "${datadir}/unimaps" |
| 28 | |
| 29 | inherit update-alternatives |
| 30 | |
| 31 | ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt" |
| 32 | ALTERNATIVE_PRIORITY = "100" |
| 33 | |
| 34 | BBCLASSEXTEND = "native" |
| 35 | PARALLEL_MAKEINST = "" |