From d78a7087b0625cbd7131553f421e8109fcea7ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 30 Nov 2017 11:26:42 +0100 Subject: [PATCH] Revert "glm: remove - a later version is in meta-oe" This reverts commit 09a852e09755a1c7c9b85ee21b093445f2d6003f. --- recipes-support/glm/glm_0.9.8.3.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-support/glm/glm_0.9.8.3.bb diff --git a/recipes-support/glm/glm_0.9.8.3.bb b/recipes-support/glm/glm_0.9.8.3.bb new file mode 100644 index 0000000..61481af --- /dev/null +++ b/recipes-support/glm/glm_0.9.8.3.bb @@ -0,0 +1,27 @@ +SUMMARY = "C++ mathematics library for graphics programming" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://copying.txt;md5=4431606d144252143c9c3df384a74cad" + +inherit cmake + +SRC_URI = "git://github.com/g-truc/glm.git" +# 0.9.8.3 tag +SRCREV = "6a1e2ec5d5e79e6d869c947cbdbcbb297bdf9d32" +S = "${WORKDIR}/git" + +do_configure() { + # for some reason simple tailored configure runs best + mkdir -p ${B} + cd ${B} + # -DCMAKE_INSTALL_LIBDIR:PATH=${libdir} causes configur break with + # | CMake Error: Could not open file for write in copy operation /usr/lib/cmake/glm/glmConfig.cmake.tmp + # | CMake Error: : System Error: No such file or directory + cmake \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_INCLUDEDIR:PATH=${includedir} \ + ${OECMAKE_SOURCEPATH} +} + +FILES_${PN}-dev += "${libdir}/cmake" + +BBCLASSEXTEND = "native"