Makefile 976 B

12345678910111213141516171819202122232425262728293031
  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:= 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/video
  10. PKG_DEPENDS:= libglu libstdcxx
  11. PKG_BUILDDEP:= glu
  12. PKG_URL:= http://freeglut.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_HOST_DEPENDS:= !cygwin
  17. PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
  18. include $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk