Makefile 864 B

1234567891011121314151617181920212223242526272829
  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:= libXrandr
  5. PKG_VERSION:= 1.3.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= edacf83655be2e48348b626c0dc454f3
  8. PKG_DESCR:= xrandr library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= randrproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_LIBNAME:= libxrandr
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXRANDR,libxrandr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  18. libxrandr-install:
  19. ${INSTALL_DIR} ${IDIR_LIBXRANDR}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libXrandr.so* ${IDIR_LIBXRANDR}/usr/lib
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk