Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= libglew
  5. PKG_VERSION:= 1.10.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 2f09e5e6cb1b9f3611bcac79bc9c2d5d
  8. PKG_DESCR:= OpenGL Extension Wrangler Library (GLEW)
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libx11 libxmu libxi libxext
  11. PKG_BUILDDEP:= libX11 libXmu libXi libXext
  12. PKG_URL:= http://glew.sourceforge.net/index.html
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=glew/}
  14. PKG_OPTS:= dev
  15. PKG_ARCH_DEPENDS:= !m68k
  16. DISTFILES:= glew-$(PKG_VERSION).tgz
  17. WRKDIST= ${WRKDIR}/glew-$(PKG_VERSION)
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBGLEW,libglew,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIG_STYLE:= manual
  21. XAKE_FLAGS+= STRIP='' GLEW_DEST='${WRKINST}/usr' SYSTEMS=linux
  22. libglew-install:
  23. $(INSTALL_DIR) $(IDIR_LIBGLEW)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libGLEW.so* \
  25. $(IDIR_LIBGLEW)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk