1
0

Makefile 917 B

123456789101112131415161718192021222324252627282930
  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.8.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 918ffbddcffbac83c218bc52355b6d5a
  8. PKG_DESCR:= OpenGL Utility Toolkit libraries
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libglu
  11. PKG_BUILDDEP:= glu
  12. PKG_URL:= http://freeglut.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
  14. PKG_NEED_CXX:= 1
  15. PKG_OPTS:= dev
  16. PKG_HOST_DEPENDS:= !cygwin
  17. PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,FREEGLUT,freeglut,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}${PKG_OPTS}))
  20. freeglut-install:
  21. $(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
  22. $(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk