diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 13:50:06 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 13:50:06 +0200 |
commit | 732c67411c8460f9892629c30662990563c42860 (patch) | |
tree | 7fdf1da24675c1da4aed97e9318c000d2d363f39 /base/kbd/Pkgfile | |
parent | 066f1e695b8476eafc73d0b73d5cee22ba0f529a (diff) | |
download | nutyx-extra-732c67411c8460f9892629c30662990563c42860.tar.gz nutyx-extra-732c67411c8460f9892629c30662990563c42860.tar.bz2 nutyx-extra-732c67411c8460f9892629c30662990563c42860.tar.xz nutyx-extra-732c67411c8460f9892629c30662990563c42860.zip |
Ajout de kbd#1.15-1
Diffstat (limited to 'base/kbd/Pkgfile')
-rwxr-xr-x | base/kbd/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/base/kbd/Pkgfile b/base/kbd/Pkgfile new file mode 100755 index 000000000..86eb5fed8 --- /dev/null +++ b/base/kbd/Pkgfile @@ -0,0 +1,25 @@ +# Description: Contient table des touches clavier et utilitaire pour clavier +# URL: ftp://devel.altlinux.org/legion/kbd/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: iproute2 + +name=kbd +version=1.15 +release=1 +source=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$version.tar.gz \ +http://www.linuxfromscratch.org/patches/lfs/development/kbd-$version-backspace-1.patch \ + ) +build() { +cd $name-$version +patch -Np1 -i ../kbd-$version-backspace-1.patch +sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \ + -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in +./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --datadir=/lib/kbd +make +make DESTDIR=$PKG install +mkdir -p $PKG/bin +mv -v $PKG/usr/bin/{kbd_mode,openvt,setfont} $PKG/bin/ +} |