1 ################################################################################
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
= \
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
33 $(eval
$(cmake-package
))