python3: update to 3.11.10
[openadk.git] / package / kbd / Makefile
blob7c0b62efa820788fdfef807a3c23955996a3771a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= kbd
7 PKG_VERSION:= 2.4.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 55f0740458cfd3a84e775e50d7e8b92dc01846db1edad8e2411ccc293ece9b9f
10 PKG_DESCR:= keyboard and font utilities
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= libcheck
13 PKG_BUILDDEP:= flex-host bison-host check
14 PKG_URL:= http://kbd-project.org/
15 PKG_SITES:= https://mirrors.edge.kernel.org/pub/linux/utils/kbd/
17 PKG_CFLINE_KBD:= default y if ADK_TARGET_WITH_INPUT
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,KBD,kbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIGURE_ARGS+= --disable-vlock
25 kbd-install:
26 $(INSTALL_DIR) $(IDIR_KBD)/usr/share
27 $(CP) $(WRKINST)/usr/share/keymaps \
28 $(IDIR_KBD)/usr/share
29 $(CP) $(WRKINST)/usr/share/consolefonts \
30 $(IDIR_KBD)/usr/share
31 $(CP) $(WRKINST)/usr/share/consoletrans \
32 $(IDIR_KBD)/usr/share
33 $(CP) $(WRKINST)/usr/share/unimaps \
34 $(IDIR_KBD)/usr/share
35 $(INSTALL_DIR) $(IDIR_KBD)/usr/bin
36 $(INSTALL_BIN) $(WRKINST)/usr/bin/kbd_mode \
37 $(IDIR_KBD)/usr/bin
38 $(INSTALL_BIN) $(WRKINST)/usr/bin/setfont \
39 $(IDIR_KBD)/usr/bin
40 $(INSTALL_BIN) $(WRKINST)/usr/bin/showkey \
41 $(IDIR_KBD)/usr/bin
42 $(INSTALL_BIN) $(WRKINST)/usr/bin/loadunimap \
43 $(IDIR_KBD)/usr/bin
44 $(INSTALL_BIN) $(WRKINST)/usr/bin/loadkeys \
45 $(IDIR_KBD)/usr/bin
46 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
47 $(INSTALL_DIR) $(IDIR_KBD)/etc
48 $(CP) ./files/zaurus.map $(IDIR_KBD)/etc
49 endif
51 include ${ADK_TOPDIR}/mk/pkg-bottom.mk