1
0

Makefile 1.1 KB

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