Date:2010-08-02 09:48:07 (13 years 7 months ago)
Author:kyak
Commit:bef387816ce3a11849453b2737a52015af8ae992
Message:initial port of kbd utilities (thanks to wryun)

Files: kbd/Makefile (1 diff)

Change Details

kbd/Makefile
1#
2# Copyright (C) 2006-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=kbd
11PKG_RELEASE:=1
12PKG_VERSION:=1.15.1
13PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kbd
14PKG_SOURCE:=kbd-$(PKG_VERSION).tar.gz
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/kbd
19  SECTION:=utils
20  CATEGORY:=Utilities
21  TITLE:=Keyboard and console utilities for Linux
22  URL:=ftp://ftp.kernel.org/pub/linux/utils/kbd
23endef
24
25define Package/kbd/description
26  Keyboard and console utilities for Linux
27endef
28
29define Build/Configure
30    ( cd $(PKG_BUILD_DIR) ; aclocal; autoheader; automake; autoconf )
31    $(call Build/Configure/Default, CFLAGS=-Wno-cast-align )
32endef
33
34define Package/kbd/install
35    $(INSTALL_DIR) $(1)/usr/sbin
36    for f in setfont psfxtable setmetamode unicode_stop kbdrate loadkeys kbd_mode showconsolefont loadunimap unicode_start deallocvt openvt getkeycodes showkey setleds cad chvt mapscrn fgconsole setkeycodes; do \
37            $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/sbin;\
38    done
39endef
40
41$(eval $(call BuildPackage,kbd))

Archive Download the corresponding diff file



interactive