1
0

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.0.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= c3f1bce1affc7dfbc222145e00e1310e
  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. SUB_INSTALLS-y:=
  21. SUB_INSTALLS-m:=
  22. SUB_INSTALLS-${ADK_PACKAGE_LIBXDMCP_DEV}+=libxdmcp-dev-install
  23. post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
  24. ${INSTALL_DIR} ${IDIR_LIBXDMCP}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libXdmcp.so* ${IDIR_LIBXDMCP}/usr/lib/
  26. libxdmcp-dev-install:
  27. ${INSTALL_DIR} ${IDIR_LIBXDMCP_DEV}/usr/include/X11/
  28. ${CP} ${WRKINST}/usr/include/X11/* \
  29. ${IDIR_LIBXDMCP_DEV}/usr/include/X11/
  30. include ${TOPDIR}/mk/pkg-bottom.mk