Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= libXdmcp
  5. PKG_VERSION:= 1.1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= bd6577d65c66a971ca52ba7c251905a8
  8. PKG_DESCR:= X11 display manager control protocol library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXDMCP LIBXDMCP_DEV
  13. PKGSB_LIBXDMCP:= xproto
  14. PKGSD_LIBXDMCP_DEV:= XDMCP headers
  15. PKGSC_LIBXDMCP_DEV:= x11/devel
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS:= libonly
  18. endif
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,LIBXDMCP,libxdmcp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. $(eval $(call PKG_template,LIBXDMCP_DEV,libxdmcp-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXDMCP_DEV},${PKGSC_LIBXDMCP_DEV},${PKG_OPTS}))
  22. libxdmcp-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXDMCP}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libXdmcp.so* ${IDIR_LIBXDMCP}/usr/lib
  25. libxdmcp-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXDMCP_DEV}/usr/include/X11
  27. ${CP} ${WRKINST}/usr/include/X11/* \
  28. ${IDIR_LIBXDMCP_DEV}/usr/include/X11
  29. ${INSTALL_DIR} ${IDIR_LIBXDMCP_DEV}/usr/lib/pkgconfig
  30. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  31. ${IDIR_LIBXDMCP_DEV}/usr/lib/pkgconfig
  32. include ${TOPDIR}/mk/pkg-bottom.mk