diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
| commit | 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch) | |
| tree | 58590463ada82a27eca0889312c32450358249a8 /kbd | |
| download | qipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz | |
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target
Gforth, removing strange emacs-dependencies that cropped up earlier.
Image file can now be built on the nanonote using 'gforth-update-image'
command. Also, Gforth is now run through a wrapper that calls
'gforth-update-image' automatically, if necessary.
Also first attempts at supporting libcc C-interface libraries pre-compiled on
the host.
Tested to compile on amd64 and i386.
Diffstat (limited to 'kbd')
| -rw-r--r-- | kbd/Makefile | 70 | ||||
| -rw-r--r-- | kbd/files/ben_ru_uni.map.gz | bin | 0 -> 4756 bytes |
2 files changed, 70 insertions, 0 deletions
diff --git a/kbd/Makefile b/kbd/Makefile new file mode 100644 index 0000000..0d9296f --- /dev/null +++ b/kbd/Makefile @@ -0,0 +1,70 @@ +# +# 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/Default + SECTION:=utils + CATEGORY:=Utilities + URL:=ftp://ftp.kernel.org/pub/linux/utils/kbd +endef + +define Package/kbd + $(call Package/kbd/Default) + TITLE:=Keyboard and console utilities for Linux +endef + +define Package/kbd-console-fonts + $(call Package/kbd/Default) + TITLE:=Console fonts for Linux +endef + +define Package/kbd-console-maps + $(call Package/kbd/Default) + TITLE:=Console maps for Linux +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/bin + 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 dumpkeys; do \ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/bin;\ + done +endef + +define Package/kbd-console-fonts/install + $(INSTALL_DIR) $(1)/usr/share/kbd/consolefonts + $(CP) $(PKG_BUILD_DIR)/data/consolefonts/* $(1)/usr/share/kbd/consolefonts/ +endef + +define Package/kbd-console-maps/install + $(INSTALL_DIR) $(1)/usr/share/kbd/keymaps/i386/qwerty + $(INSTALL_DIR) $(1)/usr/share/kbd/keymaps/i386/include + $(CP) $(PKG_BUILD_DIR)/data/keymaps/i386/qwerty/* $(1)/usr/share/kbd/keymaps/i386/qwerty/ + $(CP) $(PKG_BUILD_DIR)/data/keymaps/i386/include/* $(1)/usr/share/kbd/keymaps/i386/include/ + $(CP) $(FILES_DIR)/ben_ru_uni.map.gz $(1)/usr/share/kbd/keymaps/ +endef + +$(eval $(call BuildPackage,kbd)) +$(eval $(call BuildPackage,kbd-console-fonts)) +$(eval $(call BuildPackage,kbd-console-maps)) diff --git a/kbd/files/ben_ru_uni.map.gz b/kbd/files/ben_ru_uni.map.gz Binary files differnew file mode 100644 index 0000000..b228691 --- /dev/null +++ b/kbd/files/ben_ru_uni.map.gz |
