CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: bump release number to sync it with upstream port
[ports/core-arm.git] / kbd / Pkgfile
CommitLineData
9865558b
VM
1# Description: Keytable files and keyboard utilities
2# URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
fe1e2a07 5# Depends on:
9865558b
VM
6
7name=kbd
4e4188b9 8version=2.0.3
a43e169d 9release=2
3cfe9e8f 10source=(http://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
9865558b
VM
11
12build() {
13 cd $name-$version
14
a8ee9af3
FR
15 # we don't want a dependency to 'check'
16 sed -i '/^SUBDIR/s/tests//' Makefile.am
17 sed -i '/\[check >= 0.9.4\]/s/^/#/' configure.ac
18 autoreconf --install
19
9865558b 20 ./configure --prefix=/usr \
9865558b 21 --datadir=/usr/share/kbd \
7a2dc901 22 --disable-vlock \
9865558b
VM
23 --disable-nls
24 make
25 make DESTDIR=$PKG install
26
27 ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
28
29 rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
30 rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
3cfe9e8f
VM
31 rm $PKG/usr/share/man/man8/{loadunimap,mapscrn,resizecons}.8
32 rm $PKG/usr/share/man/man1/psf*table.1
9865558b
VM
33 find $PKG/usr/share/kbd/ -type f -name "README*" -delete
34}