Makefile 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libX11
  5. PKG_VERSION:= 1.6.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b93739bcd517723121f508bcaf0c213c1bae9c5eacffdca571ff0d86c30ead3e
  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. include $(ADK_TOPDIR)/mk/host.mk
  21. include $(ADK_TOPDIR)/mk/package.mk
  22. $(eval $(call HOST_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE}))
  23. $(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  24. CONFIGURE_ARGS+= --enable-xlocale \
  25. --disable-specs \
  26. --disable-xf86bigfont \
  27. --disable-malloc0returnsnull
  28. HOST_STYLE:= auto
  29. HOST_CONFIGURE_ARGS+= --enable-xlocale \
  30. --disable-specs \
  31. --disable-xf86bigfont \
  32. --disable-malloc0returnsnull
  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 ${ADK_TOPDIR}/mk/host-bottom.mk
  40. include ${ADK_TOPDIR}/mk/pkg-bottom.mk