mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
10
package/glm/Config.in
Normal file
10
package/glm/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
3
package/glm/glm.hash
Normal file
3
package/glm/glm.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5e33b6131cea6a904339734b015110d4342b7dc02d995164fdb86332d28a5aa4 glm-0.9.9.5.tar.gz
|
||||
sha256 337130631a714eeae017556cad101d5324c2961214120b6214741d3d43667086 manual.md
|
||||
23
package/glm/glm.mk
Normal file
23
package/glm/glm.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# glm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GLM_VERSION = 0.9.9.5
|
||||
GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
|
||||
GLM_LICENSE = MIT
|
||||
GLM_LICENSE_FILES = manual.md
|
||||
|
||||
# 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
|
||||
|
||||
# Don't build libraries as GLM is header-only
|
||||
GLM_CONF_OPTS = \
|
||||
-DGLM_TEST_ENABLE=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user