1
0

Makefile 965 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 $(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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_HOST_DEPENDS:= !cygwin
  18. PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,FREEGLUT,freeglut,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}${PKG_OPTS}))
  21. freeglut-install:
  22. $(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
  23. $(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk