python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / libfreeglut / libfreeglut.mk
blob507cb523ab85b4c1bdbb48ed2f80256e44562448
1 ################################################################################
3 # libfreeglut
5 ################################################################################
7 LIBFREEGLUT_VERSION = 3.0.0
8 LIBFREEGLUT_SOURCE = freeglut-$(LIBFREEGLUT_VERSION).tar.gz
9 LIBFREEGLUT_SITE = http://downloads.sourceforge.net/freeglut
10 LIBFREEGLUT_LICENSE = MIT
11 LIBFREEGLUT_LICENSE_FILES = COPYING
12 LIBFREEGLUT_INSTALL_STAGING = YES
13 LIBFREEGLUT_DEPENDENCIES = \
14 libgl \
15 libglu \
16 xlib_libXi \
17 xlib_libXrandr \
18 xlib_libXxf86vm
20 LIBFREEGLUT_CONF_OPTS = -DFREEGLUT_BUILD_DEMOS=OFF
22 # package depends on X.org which depends on !BR2_STATIC_LIBS
23 ifeq ($(BR2_SHARED_LIBS),y)
24 LIBFREEGLUT_CONF_OPTS += \
25 -DFREEGLUT_BUILD_SHARED_LIBS=ON \
26 -DFREEGLUT_BUILD_STATIC_LIBS=OFF
27 else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
28 LIBFREEGLUT_CONF_OPTS += \
29 -DFREEGLUT_BUILD_SHARED_LIBS=ON \
30 -DFREEGLUT_BUILD_STATIC_LIBS=ON
31 endif
33 $(eval $(cmake-package))