Makefile 851 B

123456789101112131415161718192021222324252627
  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:= freeglut
  5. PKG_VERSION:= 2.6.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 39f0f2de89f399529d2b981188082218
  8. PKG_DESCR:= OpenGL Utility Toolkit
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= MesaLib
  11. PKG_URL:= http://freeglut.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
  13. PKG_HOST_DEPENDS:= !cygwin !darwin
  14. PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,FREEGLUT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. post-install:
  18. $(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
  19. $(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib
  20. include ${TOPDIR}/mk/pkg-bottom.mk