Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (33 sloc) 1.148 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=kbd
PKG_RELEASE:=1
PKG_VERSION:=1.15.1
PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kbd
PKG_SOURCE:=kbd-$(PKG_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/kbd
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Keyboard and console utilities for Linux
  URL:=ftp://ftp.kernel.org/pub/linux/utils/kbd
endef

define Package/kbd/description
  Keyboard and console utilities for Linux
endef

define Build/Configure
( cd $(PKG_BUILD_DIR) ; aclocal; autoheader; automake; autoconf )
$(call Build/Configure/Default, CFLAGS=-Wno-cast-align )
endef

define Package/kbd/install
$(INSTALL_DIR) $(1)/usr/sbin
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 \
            $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/sbin;\
done
endef

$(eval $(call BuildPackage,kbd))
Something went wrong with that request. Please try again.