config BR2_PACKAGE_LIBGLEW
	bool "libglew"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_PACKAGE_HAS_LIBGL
	select BR2_PACKAGE_XLIB_LIBX11
	select BR2_PACKAGE_XLIB_LIBXEXT
	select BR2_PACKAGE_XLIB_LIBXI
	select BR2_PACKAGE_XLIB_LIBXMU
	help
	  The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++
	  extension loading library. GLEW provides efficient run-time mechanisms
	  for determining which OpenGL extensions are supported on the target
	  platform. OpenGL core and extension functionality is exposed in a
	  single header file.

	  http://glew.sourceforge.net

comment "libglew depends on X.org and needs an OpenGL backend"
	depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
