Commit 6f6a6222 authored by Paul Cercueil's avatar Paul Cercueil Committed by Peter Korsgaard
Browse files

glm: Added package

OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL)
specification.

http://glm.g-truc.net/



Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 997c17a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -836,6 +836,7 @@ menu "Other"
	source "package/fftw/Config.in"
	source "package/flann/Config.in"
	source "package/glibmm/Config.in"
	source "package/glm/Config.in"
	source "package/gmp/Config.in"
	source "package/gsl/Config.in"
	source "package/gtest/Config.in"

package/glm/Config.in

0 → 100644
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_GLM
	bool "glm"
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  OpenGL Mathematics (GLM)

	  http://glm.g-truc.net

comment "glm needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP

package/glm/glm.mk

0 → 100644
+17 −0
Original line number Diff line number Diff line
################################################################################
#
# glm
#
################################################################################

GLM_VERSION = 0.9.5.4
GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
GLM_LICENSE = MIT
GLM_LICENSE_FILES = copying.txt

# GLM is a header-only library, it only makes sense
# to have it installed into the staging directory.
GLM_INSTALL_STAGING = YES
GLM_INSTALL_TARGET = NO

$(eval $(cmake-package))