2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: The Kbd package contains key-table files, console fonts, and keyboard utilities
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: ftp://devel.altlinux.org/legion/kbd/
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=kbd
|
|
|
|
|
version=2.0.3
|
|
|
|
|
release=2
|
|
|
|
|
|
|
|
|
|
source=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$version.tar.xz \
|
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-backspace-1.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle()
|
2016-02-24 01:27:23 +01:00
|
|
|
|
{
|
|
|
|
|
cd kbd-$version
|
|
|
|
|
|
|
|
|
|
patch -Np1 -i ../$name-$version-backspace-1.patch
|
|
|
|
|
|
|
|
|
|
sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
|
|
|
|
|
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
|
|
|
|
|
|
|
|
|
|
PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr \
|
|
|
|
|
--bindir=/bin --datadir=/lib/kbd
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make check
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
}
|