Makefile 952 B

1234567891011121314151617181920212223242526272829303132
  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:= libdrm
  5. PKG_VERSION:= 2.4.53
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 272db7c2ccddeeef476f3ffdd6fd2c8f4ea693d048d9e84e9c40e6716e0d3abd
  8. PKG_DESCR:= drm library
  9. PKG_SECTION:= libs/video
  10. PKG_BUILDDEP:= libpthread-stubs cairo libpciaccess
  11. PKG_URL:= http://dri.freedesktop.org/wiki/
  12. PKG_SITES:= http://dri.freedesktop.org/libdrm/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_ARCH_DEPENDS:= !m68k
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBDRM,libdrm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --disable-manpages
  19. libdrm-install:
  20. $(INSTALL_DIR) $(IDIR_LIBDRM)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libdrm*.so* \
  22. $(IDIR_LIBDRM)/usr/lib
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk