Makefile 1.3 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:= libxkbfile
  5. PKG_VERSION:= 1.0.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a1384a9a48430397aff236f97e26ed05
  8. PKG_DESCR:= X11 keyboard configuration extension library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= kbproto libX11
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXKBFILE LIBXKBFILE_DEV
  13. PKGSD_LIBXKBFILE_DEV:= X11 keyboard configuration extension headers
  14. PKGSC_LIBXKBFILE_DEV:= devel
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXKBFILE,libxkbfile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBXKBFILE_DEV,libxkbfile-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXKBFILE_DEV},${PKGSC_LIBXKBFILE_DEV}))
  18. libxkbfile-install:
  19. ${INSTALL_DIR} ${IDIR_LIBXKBFILE}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libxkbfile.so* ${IDIR_LIBXKBFILE}/usr/lib
  21. libxkbfile-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBXKBFILE_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/* \
  24. ${IDIR_LIBXKBFILE_DEV}/usr/include
  25. ${INSTALL_DIR} ${IDIR_LIBXKBFILE_DEV}/usr/lib/pkgconfig
  26. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xkbfile.pc \
  27. ${IDIR_LIBXKBFILE_DEV}/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk