name : glm version : 1.0.1 release : 8 source : - https://github.com/g-truc/glm/archive/1.0.1.tar.gz : 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c license : MIT component : programming.library homepage : https://github.com/g-truc/glm summary : OpenGL Mathematics library description: | C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification. patterns : - / setup : | export CXXFLAGS="$(echo "$CXXFLAGS" | sed -e 's/-Wall //')" %cmake_ninja -DCMAKE_INSTALL_DATAROOTDIR=/usr/lib64/cmake build : | %ninja_build install : | %ninja_install sed -i "s|@GLM_VERSION@|$version|" $pkgfiles/glm.pc install -Dm00644 $pkgfiles/glm.pc $installdir/usr/lib64/pkgconfig/glm.pc check : | %ninja_check