Makefile 1.1 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:= 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_SITES:= ${MASTER_SITE_XORG}
  11. PKG_SUBPKGS:= LIBXDMCP LIBXDMCP_DEV
  12. PKGSD_LIBXDMCP_DEV:= XDMCP headers
  13. PKGSC_LIBXDMCP_DEV:= devel
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBXDMCP,libxdmcp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. $(eval $(call PKG_template,LIBXDMCP_DEV,libxdmcp-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXDMCP_DEV},${PKGSC_LIBXDMCP_DEV},${PKG_OPTS}))
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBXDMCP}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libXdmcp.so* ${IDIR_LIBXDMCP}/usr/lib/
  23. libxdmcp-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBXDMCP_DEV}/usr/include/X11/
  25. ${CP} ${WRKINST}/usr/include/X11/* \
  26. ${IDIR_LIBXDMCP_DEV}/usr/include/X11/
  27. include ${TOPDIR}/mk/pkg-bottom.mk