]>
Commit | Line | Data |
---|---|---|
f5b9a090 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
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. # | |
10 | # # | |
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. # | |
15 | # # | |
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/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = kbd | |
930b9443 | 28 | PKG_VER = 1.15 |
f5b9a090 | 29 | PKG_REL = 0 |
930b9443 | 30 | PKG_EPOCH = 1 |
f5b9a090 MT |
31 | |
32 | PKG_MAINTAINER = | |
bb7d617c | 33 | PKG_GROUPS = System/Base |
f5b9a090 MT |
34 | PKG_URL = http://ftp.altlinux.org/pub/people/legion/kbd |
35 | PKG_LICENSE = GPLv2+ | |
36 | PKG_SUMMARY = Tools for configuring the console (keyboard, virtual terminals, etc.). | |
37 | ||
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. | |
42 | endef | |
43 | ||
44 | PKG_TARBALL = $(THISAPP).tar.gz | |
45 | PKG_OBJECTS += kbd-latarcyrheb-16-fixed.tar.bz2 | |
46 | PKG_OBJECTS += kbd-latsun-fonts.tar.bz2 | |
47 | ||
f5b9a090 MT |
48 | CONFIGURE_OPTIONS += --datadir=/lib/kbd |
49 | ||
f5b9a090 MT |
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 | |
f5b9a090 MT |
54 | endef |
55 | ||
8f246e3f | 56 | define STAGE_INSTALL_CMDS |
f5b9a090 MT |
57 | -mkdir -pv $(BUILDROOT)/bin |
58 | mv -v $(BUILDROOT)/usr/bin/{kbd_mode,loadkeys,openvt,setfont} $(BUILDROOT)/bin | |
59 | endef |