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:
|
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
isim=kbd
|
|
|
|
|
surum=2.0.3
|
|
|
|
|
devir=2
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
kaynak=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$surum.tar.xz \
|
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-backspace-1.patch)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle()
|
2016-02-24 01:27:23 +01:00
|
|
|
|
{
|
2017-10-28 14:15:02 +02:00
|
|
|
|
cd kbd-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
patch -Np1 -i ../$isim-$surum-backspace-1.patch
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|