1
0

Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.5.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 395455e4d3a51459374fe5ca8420aae8
  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. ifeq ($(ADK_STATIC),y)
  20. PKG_OPTS+= libonly
  21. endif
  22. include $(TOPDIR)/mk/host.mk
  23. include $(TOPDIR)/mk/package.mk
  24. $(eval $(call HOST_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE}))
  25. $(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. HOST_STYLE:= auto
  27. CONFIGURE_ARGS+= --enable-xlocale \
  28. --disable-specs \
  29. --disable-xf86bigfont \
  30. --disable-malloc0returnsnull
  31. HOST_CONFIGURE_ARGS+= $(CONFIGURE_ARGS)
  32. libx11-install:
  33. ${INSTALL_DIR} ${IDIR_LIBX11}/usr/lib ${IDIR_LIBX11}/usr/share/X11
  34. ${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
  35. ${CP} ${WRKINST}/usr/lib/libX11-xcb*.so* ${IDIR_LIBX11}/usr/lib/
  36. ${CP} ${WRKINST}/usr/share/X11/XErrorDB ${IDIR_LIBX11}/usr/share/X11
  37. ${CP} ${WRKINST}/usr/share/X11/locale ${IDIR_LIBX11}/usr/share/X11
  38. include ${TOPDIR}/mk/host-bottom.mk
  39. include ${TOPDIR}/mk/pkg-bottom.mk