Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= libX11
  5. PKG_VERSION:= 1.6.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7e17129e1678355d8268883ee31a6edf
  8. PKG_DESCR:= X11 client-side library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xproto-host xextproto-host libXau-host libpthread-stubs-host
  11. PKG_BUILDDEP+= xcb-proto-host libxcb-host kbproto-host
  12. PKG_BUILDDEP+= inputproto-host xtrans-host libX11-host
  13. PKG_BUILDDEP+= xproto xextproto xtrans libXdmcp libXau xcb-proto
  14. PKG_BUILDDEP+= xcmiscproto bigreqsproto kbproto inputproto libxcb
  15. PKG_DEPENDS:= libxdmcp libxcb libxau
  16. PKG_SITES:= ${MASTER_SITE_XORG}
  17. PKG_LIBNAME:= libx11
  18. PKG_OPTS:= dev
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libonly
  22. endif
  23. include $(TOPDIR)/mk/host.mk
  24. include $(TOPDIR)/mk/package.mk
  25. $(eval $(call HOST_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE}))
  26. $(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  27. HOST_STYLE:= auto
  28. CONFIGURE_ARGS+= --enable-xlocale \
  29. --disable-specs \
  30. --disable-xf86bigfont \
  31. --disable-malloc0returnsnull
  32. HOST_CONFIGURE_ARGS+= $(CONFIGURE_ARGS)
  33. libx11-install:
  34. ${INSTALL_DIR} ${IDIR_LIBX11}/usr/lib ${IDIR_LIBX11}/usr/share/X11
  35. ${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
  36. ${CP} ${WRKINST}/usr/lib/libX11-xcb*.so* ${IDIR_LIBX11}/usr/lib/
  37. ${CP} ${WRKINST}/usr/share/X11/XErrorDB ${IDIR_LIBX11}/usr/share/X11
  38. ${CP} ${WRKINST}/usr/share/X11/locale ${IDIR_LIBX11}/usr/share/X11
  39. include ${TOPDIR}/mk/host-bottom.mk
  40. include ${TOPDIR}/mk/pkg-bottom.mk