void-packages/srcpkgs/glm/template
Johannes 006dd88ff2 glm: revert to 0.9.9.2
kicad doesn't build with 0.9.9.3
2018-11-07 10:52:03 +01:00

25 lines
676 B
Bash

# Template file for 'glm'
pkgname=glm
version=0.9.9.2
reverts="0.9.9.3_1"
revision=2
noarch=yes
wrksrc=glm
build_style=cmake
configure_args="-DGLM_TEST_ENABLE=OFF"
hostmakedepends="dos2unix unzip"
short_desc="A C++ mathematics library for graphics programming"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://glm.g-truc.net"
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
checksum=209b5943d393925e1a6ecb6734e7507b8f6add25e72a605b25d0d0d382e64fd4
post_install() {
local f
for f in $(find ${DESTDIR}/usr/include -type f); do
dos2unix "$f"
done
sed -n '88,110p' manual.md > LICENSE
vlicense LICENSE
}