]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/kbd/kbd.nm
Remove legacy build system.
[people/ms/ipfire-3.x.git] / pkgs / kbd / kbd.nm
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
28 PKG_VER = 1.15
29 PKG_REL = 0
30 PKG_EPOCH = 1
31
32 PKG_MAINTAINER =
33 PKG_GROUP = System/Base
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
48 CONFIGURE_OPTIONS += --datadir=/lib/kbd
49
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
54 endef
55
56 define STAGE_INSTALL_CMDS
57 -mkdir -pv $(BUILDROOT)/bin
58 mv -v $(BUILDROOT)/usr/bin/{kbd_mode,loadkeys,openvt,setfont} $(BUILDROOT)/bin
59 endef