]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/kbd/kbd.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / kbd / kbd.nm
CommitLineData
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
25include $(PKGROOT)/Include
26
27PKG_NAME = kbd
930b9443 28PKG_VER = 1.15
f5b9a090 29PKG_REL = 0
930b9443 30PKG_EPOCH = 1
f5b9a090
MT
31
32PKG_MAINTAINER =
bb7d617c 33PKG_GROUPS = System/Base
f5b9a090
MT
34PKG_URL = http://ftp.altlinux.org/pub/people/legion/kbd
35PKG_LICENSE = GPLv2+
36PKG_SUMMARY = Tools for configuring the console (keyboard, virtual terminals, etc.).
37
38define 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.
42endef
43
44PKG_TARBALL = $(THISAPP).tar.gz
45PKG_OBJECTS += kbd-latarcyrheb-16-fixed.tar.bz2
46PKG_OBJECTS += kbd-latsun-fonts.tar.bz2
47
f5b9a090
MT
48CONFIGURE_OPTIONS += --datadir=/lib/kbd
49
f5b9a090
MT
50define 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
54endef
55
8f246e3f 56define STAGE_INSTALL_CMDS
f5b9a090
MT
57 -mkdir -pv $(BUILDROOT)/bin
58 mv -v $(BUILDROOT)/usr/bin/{kbd_mode,loadkeys,openvt,setfont} $(BUILDROOT)/bin
59endef