Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= kbd
  5. PKG_VERSION:= 2.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 9dfddabf96012e329c4bebb96a21aeef7c3872f624e96e8156ba542b82aeb912
  8. PKG_DESCR:= keyboard utility
  9. PKG_SECTION:= sys/hw
  10. PKG_DEPENDS:= libcheck
  11. PKG_BUILDDEP:= flex-host bison-host check
  12. PKG_URL:= http://kbd-project.org/
  13. PKG_SITES:= http://kbd-project.org/download/
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,KBD,kbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-vlock
  17. kbd-install:
  18. $(INSTALL_DIR) $(IDIR_KBD)/usr/share
  19. $(CP) $(WRKINST)/usr/share/keymaps \
  20. $(IDIR_KBD)/usr/share
  21. $(INSTALL_DIR) $(IDIR_KBD)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/loadkeys \
  23. $(IDIR_KBD)/usr/bin
  24. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  25. $(INSTALL_DIR) $(IDIR_KBD)/etc
  26. $(CP) ./files/zaurus.map $(IDIR_KBD)/etc
  27. endif
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk