1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
33 PKG_GROUP = System/Base
34 PKG_URL = http://ftp.altlinux.org/pub/people/legion/kbd
36 PKG_SUMMARY = Tools for configuring the console (keyboard, virtual terminals, etc.).
38 define PKG_DESCRIPTION
39 The kbd package contains tools for managing a Linux \
40 system's console's behavior, including the keyboard, the screen \
41 fonts, the virtual terminals and font files.
44 PKG_TARBALL = $(THISAPP).tar.gz
45 PKG_OBJECTS += kbd-latarcyrheb-16-fixed.tar.bz2
46 PKG_OBJECTS += kbd-latsun-fonts.tar.bz2
48 CONFIGURE_OPTIONS += --datadir=/lib/kbd
50 define STAGE_PREPARE_CMDS
51 # Adding our own fonts
52 cd $(DIR_APP) && $(DO_EXTRACT) $(DIR_DL)/kbd-latsun-fonts.tar.bz2
53 cd $(DIR_APP) && $(DO_EXTRACT) $(DIR_DL)/kbd-latarcyrheb-16-fixed.tar.bz2
56 define STAGE_INSTALL_CMDS
57 -mkdir -pv $(BUILDROOT)/bin
58 mv -v $(BUILDROOT)/usr/bin/{kbd_mode,loadkeys,openvt,setfont} $(BUILDROOT)/bin