summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-14 16:13:56 +0200
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-19 13:56:08 +0200
commitec5560374c218bfb1f16934259108ebc305cf838 (patch)
tree545da4e214d91ede04d0223cc09163e35f53edfc
parentaab7102b9bcf2b35461ef3816f874f53d9eef976 (diff)
downloadspack-ec5560374c218bfb1f16934259108ebc305cf838.tar.gz
spack-ec5560374c218bfb1f16934259108ebc305cf838.tar.bz2
spack-ec5560374c218bfb1f16934259108ebc305cf838.tar.xz
spack-ec5560374c218bfb1f16934259108ebc305cf838.zip
glm : added basic configuration for the package
-rw-r--r--var/spack/packages/glm/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/packages/glm/package.py b/var/spack/packages/glm/package.py
new file mode 100644
index 0000000000..d00c301b4c
--- /dev/null
+++ b/var/spack/packages/glm/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+
+class Glm(Package):
+ """
+ OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on
+ the OpenGL Shading Language (GLSL) specification.
+ """
+
+ homepage = "https://github.com/g-truc/glm"
+ url = "https://github.com/g-truc/glm/archive/0.9.7.1.tar.gz"
+
+ version('0.9.7.1', '61af6639cdf652d1cdd7117190afced8')
+
+ def install(self, spec, prefix):
+ with working_dir('spack-build', create=True):
+ cmake('..', *std_cmake_args)
+ make()
+ make("install")