Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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 libXrender-host renderproto libX11
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_LIBNAME:= libxrender
  13. PKG_OPTS:= dev
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS+= libonly
  16. endif
  17. include $(TOPDIR)/mk/host.mk
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. HOST_STYLE:= auto
  22. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  23. libxrender-install:
  24. ${INSTALL_DIR} ${IDIR_LIBXRENDER}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libXrender.so* ${IDIR_LIBXRENDER}/usr/lib
  26. include ${TOPDIR}/mk/host-bottom.mk
  27. include ${TOPDIR}/mk/pkg-bottom.mk