1
0

Makefile 932 B

1234567891011121314151617181920212223242526272829303132
  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.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 55453cb09d90370005e696949092b8f6
  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/bin
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/loadkeys \
  20. $(IDIR_KBD)/usr/bin
  21. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  22. $(INSTALL_DIR) $(IDIR_KBD)/etc
  23. $(CP) ./files/zaurus.map $(IDIR_KBD)/etc
  24. endif
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk