core/kbd/Pkgfile

34 lines
1.0 KiB
Plaintext
Raw Normal View History

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/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=kbd
2014-08-18 09:21:45 +02:00
version=2.0.2
2010-01-07 15:16:39 +01:00
release=1
source=(http://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
}