Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5dba047cf278e5ac77cd0f19f7195fb9
  8. PKG_DESCR:= X11 rendering library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= renderproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXRENDER LIBXRENDER_DEV
  13. PKGSD_LIBXRENDER_DEV:= X11 rendering headers
  14. PKGSC_LIBXRENDER_DEV:= x11/devel
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS:= libonly
  17. endif
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. $(eval $(call PKG_template,LIBXRENDER_DEV,libxrender-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXRENDER_DEV},${PKGSC_LIBXRENDER_DEV},${PKG_OPTS}))
  21. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  22. libxrender-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXRENDER}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libXrender.so* ${IDIR_LIBXRENDER}/usr/lib
  25. libxrender-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXRENDER_DEV}/usr/include
  27. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXRENDER_DEV}/usr/include
  28. ${INSTALL_DIR} ${IDIR_LIBXRENDER_DEV}/usr/lib/pkgconfig
  29. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xrender.pc \
  30. ${IDIR_LIBXRENDER_DEV}/usr/lib/pkgconfig
  31. include ${TOPDIR}/mk/pkg-bottom.mk