glm: update to 0.9.7.2.

This commit is contained in:
Michael Gehring 2016-01-25 08:50:33 +01:00 committed by Dominik Honnef
parent be325087de
commit 39eaf75687
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'glm' # Template file for 'glm'
pkgname=glm pkgname=glm
version=0.9.7.1 version=0.9.7.2
revision=1 revision=1
noarch=yes noarch=yes
hostmakedepends="unzip" hostmakedepends="unzip"
@ -9,15 +9,16 @@ license="MIT"
short_desc="A C++ mathematics library for graphics programming" short_desc="A C++ mathematics library for graphics programming"
homepage="http://glm.g-truc.net" homepage="http://glm.g-truc.net"
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip" distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
checksum=aa1a504e991bbe33a32f394de8d39d43cc800cbb3d99c2fa75b4a473eba606db checksum=bc3d0342602c246713bba36ec9eba955c1663dd76a2919079e403c157b26b53b
wrksrc=${pkgname} wrksrc=${pkgname}
do_install() { do_install() {
vmkdir usr/include/glm vmkdir usr/include/glm
vmkdir usr/share/doc vmkdir usr/share/doc
cp -r glm ${DESTDIR}/usr/include vcopy glm usr/include
cp -r doc ${DESTDIR}/usr/share/doc/glm vcopy doc usr/share/doc/glm
rm -f ${DESTDIR}/usr/include/glm/CMakeLists.txt rm -f ${DESTDIR}/usr/include/glm/CMakeLists.txt
find ${DESTDIR} -type f -exec chmod 644 {} \; find ${DESTDIR} -type f -exec chmod 644 {} \;
find ${DESTDIR} -type d -exec chmod 755 {} \; find ${DESTDIR} -type d -exec chmod 755 {} \;
vlicense copying.txt
} }