Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libXrender
  5. PKG_VERSION:= 0.9.7
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= b6702e6f56f9d9103dc688f4336529a9
  8. PKG_DESCR:= X11 rendering library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= renderproto-host xproto-host xextproto-host libXau-host
  11. PKG_BUILDDEP+= xcb-proto-host libpthread-stubs-host libxcb-host kbproto-host
  12. PKG_BUILDDEP+= inputproto-host xtrans-host libX11-host libXrender-host renderproto libX11
  13. PKG_SITES:= ${MASTER_SITE_XORG}
  14. PKG_LIBNAME:= libxrender
  15. PKG_OPTS:= dev
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS+= libonly
  18. endif
  19. include $(TOPDIR)/mk/host.mk
  20. include $(TOPDIR)/mk/package.mk
  21. $(eval $(call HOST_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE}))
  22. $(eval $(call PKG_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. HOST_STYLE:= auto
  24. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  25. libxrender-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXRENDER}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libXrender.so* ${IDIR_LIBXRENDER}/usr/lib
  28. include ${TOPDIR}/mk/host-bottom.mk
  29. include ${TOPDIR}/mk/pkg-bottom.mk