Makefile 952 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.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f049d15f1e9d95776a940f222df9404b
  8. PKG_DESCR:= X keyboard config
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP+= xkbcomp
  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