Makefile 948 B

123456789101112131415161718192021222324252627
  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:= xkeyboard-config
  5. PKG_VERSION:= 1.7
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= xkbcomp
  8. PKG_MD5SUM:= c024a6e2a5b8c4ce3d9d1f1286466163
  9. PKG_DESCR:= X keyboard config
  10. PKG_SECTION:= x11
  11. PKG_SITES:= http://xlibs.freedesktop.org/xkbdesc/
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,XKEYBOARD_CONFIG,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. post-install:
  15. ${INSTALL_DIR} ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
  16. ${CP} ${WRKINST}/usr/share/X11/xkb/* \
  17. ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
  18. rm ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/rules/*.lst
  19. rm ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/rules/*.xml
  20. rm -rf ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/symbols/sun_vndr
  21. include ${TOPDIR}/mk/pkg-bottom.mk