Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= bkeymaps
  5. PKG_VERSION:= 1.13
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a68058ab4a81cf9a8dcbaaa7a5df5b11
  8. PKG_DESCR:= binary keymaps for busybox loadkmap
  9. PKG_SECTION:= utils
  10. PKG_SITES:= http://openadk.org/distfiles/
  11. PKG_DFLT_BKEYMAPS:= y if ADK_TARGET_WITH_INPUT
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,BKEYMAPS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. BUILD_STYLE:= manual
  16. INSTALL_STYLE:= manual
  17. KBD_LAYOUT:=$(strip $(subst ",, $(ADK_RUNTIME_KBD_LAYOUT)))
  18. KBD_DIR:=$(shell echo $(KBD_LAYOUT)|cut -c 1-2)
  19. do-install:
  20. test -z $(ADK_RUNTIME_KBD_LAYOUT) || \
  21. ($(INSTALL_DIR) $(IDIR_BKEYMAPS)/usr/share/keymaps/ && \
  22. $(INSTALL_DATA) $(WRKBUILD)/bkeymaps/$(KBD_DIR)/$(KBD_LAYOUT).bmap \
  23. $(IDIR_BKEYMAPS)/usr/share/keymaps/keymap.bmap );
  24. include ${TOPDIR}/mk/pkg-bottom.mk