Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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_BUILDDEP:= base-files
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. PKG_DFLT_BKEYMAPS:= y if ADK_TARGET_WITH_INPUT
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,BKEYMAPS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. KBD_LAYOUT:=$(strip $(subst ",, $(ADK_RUNTIME_KBD_LAYOUT)))
  19. KBD_DIR:=$(shell echo $(KBD_LAYOUT)|cut -c 1-2)
  20. do-install:
  21. test -z $(ADK_RUNTIME_KBD_LAYOUT) || \
  22. ($(INSTALL_DIR) $(IDIR_BKEYMAPS)/usr/share/keymaps/ && \
  23. $(INSTALL_DATA) $(WRKBUILD)/bkeymaps/$(KBD_DIR)/$(KBD_LAYOUT).bmap \
  24. $(IDIR_BKEYMAPS)/usr/share/keymaps/keymap.bmap );
  25. include ${TOPDIR}/mk/pkg-bottom.mk