buildroot/package/libglfw/libglfw.mk
Rahul Bedarkar 2093053106 packages: use SPDX short identifier for zlib license
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for zlib license is Zlib.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/zlib( )?(license)?/Zlib/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:35:02 +02:00

29 lines
734 B
Makefile

################################################################################
#
# libglfw
#
################################################################################
LIBGLFW_VERSION = 3.1.2
LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
LIBGLFW_INSTALL_STAGING = YES
LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \
xlib_libXinerama xlib_libXrandr
LIBGLFW_LICENSE = Zlib
LIBGLFW_LICENSE_FILES = COPYING.txt
LIBGLFW_CONF_OPTS += \
-DGLFW_BUILD_EXAMPLES=OFF \
-DGLFW_BUILD_TESTS=OFF \
-DGLFW_BUILD_DOCS=OFF
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
LIBGLFW_DEPENDENCIES += xlib_libXi
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
LIBGLFW_DEPENDENCIES += xlib_libXxf86vm
endif
$(eval $(cmake-package))