2006-02-23 16:26:10 +01:00
|
|
|
# Description: Keytable files and keyboard utilities
|
2021-12-13 12:16:58 +01:00
|
|
|
# URL: https://kbd-project.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=kbd
|
2023-09-20 11:15:16 +02:00
|
|
|
version=2.6.3
|
2017-01-24 12:39:59 +01:00
|
|
|
release=1
|
2017-03-05 18:42:00 +01:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-12-13 12:16:58 +01:00
|
|
|
cd $name-$version
|
2009-01-08 13:58:06 +01:00
|
|
|
|
2021-12-13 12:16:58 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--datadir=/usr/share/kbd \
|
|
|
|
--disable-vlock \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-tests
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-01-08 13:58:06 +01:00
|
|
|
|
2021-12-13 12:16:58 +01:00
|
|
|
ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
|
2009-01-08 13:58:06 +01:00
|
|
|
|
2021-12-13 12:16:58 +01:00
|
|
|
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
|
|
|
|
rm $PKG/usr/bin/{loadunimap,mapscrn,resizecons,psf*table}
|
|
|
|
rm $PKG/usr/share/man/man8/{loadunimap,mapscrn,resizecons}.8
|
|
|
|
rm $PKG/usr/share/man/man1/psf*table.1
|
|
|
|
find $PKG/usr/share/kbd/ -type f -name "README*" -delete
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|