core/kbd/Pkgfile

29 lines
973 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Keytable files and keyboard utilities
# URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=kbd
2009-01-08 13:58:06 +01:00
version=1.15
release=2
2009-01-08 13:58:06 +01:00
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2009-01-08 13:58:06 +01:00
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2009-01-08 13:58:06 +01:00
--mandir=/usr/man \
--datadir=/usr/share/kbd \
--disable-nls
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2009-01-08 13:58:06 +01:00
2006-02-23 16:26:10 +01:00
ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
2009-01-08 13:58:06 +01:00
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
rm $PKG/usr/bin/{psfxtable,resizecons,mapscrn,loadunimap} \
$PKG/usr/bin/{psfaddtable,psfgettable,psfstriptable} \
$PKG/usr/man/man1/{psfaddtable.1,psfgettable.1,psfstriptable.1,psfxtable.1} \
$PKG/usr/man/man8/{loadunimap.8,mapscrn.8,resizecons.8}
2006-02-23 16:26:10 +01:00
find $PKG/usr/share/kbd/ -name "README*" -exec rm {} \;
}