The Kbd package contains key-table files and keyboard utilities.
The following patch fixes build issues with GCC 4.1.1:
patch -Np1 -i ../kbd-1.12-gcc4_fixes-1.patch
Sparcs haven't updated the structure of kbdrate yet, so until they do this patch is required:
patch -Np1 -i ../kbd-1.12-sparc_kbdrate-1.patch
Prepare Kbd for compilation:
CC="gcc ${BUILD64}" ./configure --datadir=/lib64/kbd
Compile the package:
make CC="gcc ${BUILD64}"
This package does not come with a test suite.
Install the package:
make install
Some of the Programs from Kbd are used by some of the scripts in the CLFS-Bootscripts package. As /usr may not be available during the early stages of booting, those binaries need to be on the root partition:
mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin