Makefile 1003 B

123456789101112131415161718192021222324252627282930313233343536
  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:= MesaLib
  5. PKG_VERSION:= 7.8.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 62e8e47cbd63741b4bbe634dcdc8a56a
  8. PKG_DESCR:= MESA library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libxdamage libxfixes
  11. PKG_BUILDDEP+= libXdamage libXfixes libXxf86vm
  12. PKG_URL:= add project url
  13. PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/7.8.1/
  14. WRKDIST= ${WRKDIR}/Mesa-${PKG_VERSION}
  15. PKG_TARGET_DEPENDS:= x86 x86_64
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,MESALIB,mesalib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --disable-static \
  19. --disable-gallium \
  20. --without-demos
  21. XAKE_FLAGS+= APP_CC=${HOSTCC} HOST_CC=${HOSTCC}
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_MESALIB)/usr/lib
  24. $(INSTALL_BIN) $(WRKINST)/usr/lib/libGL*.so* \
  25. $(IDIR_MESALIB)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk