2006-02-23 16:26:10 +01:00
|
|
|
# Description: Keytable files and keyboard utilities
|
2013-08-22 09:25:12 +02:00
|
|
|
# URL: http://kbd-project.org/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=kbd
|
2013-08-22 09:25:12 +02:00
|
|
|
version=2.0.0
|
2010-01-07 15:16:39 +01:00
|
|
|
release=1
|
2013-08-22 09:25:12 +02:00
|
|
|
source=(ftp://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2009-01-08 13:58:06 +01:00
|
|
|
|
2013-08-22 09:25:12 +02:00
|
|
|
# we don't want a dependency to 'check'
|
|
|
|
sed -i '/^SUBDIR/s/tests//' Makefile.am
|
|
|
|
sed -i '/\[check >= 0.9.4\]/s/^/#/' configure.ac
|
|
|
|
autoreconf --install
|
|
|
|
|
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 \
|
2012-12-02 11:28:10 +01:00
|
|
|
--disable-vlock \
|
2009-01-08 13:58:06 +01:00
|
|
|
--disable-nls
|
2013-08-22 09:25:12 +02:00
|
|
|
make
|
2006-02-23 16:26:10 +01:00
|
|
|
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}
|
2010-01-07 15:16:39 +01:00
|
|
|
rm $PKG/usr/bin/{loadunimap,mapscrn,resizecons,psf*table}
|
|
|
|
rm $PKG/usr/man/man8/{loadunimap,mapscrn,resizecons}.8
|
|
|
|
rm $PKG/usr/man/man1/psf*table.1
|
|
|
|
find $PKG/usr/share/kbd/ -type f -name "README*" -delete
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|