void-packages/srcpkgs/glm/template

23 lines
667 B
Plaintext

# Template file for 'glm'
pkgname=glm
version=0.9.3.4
revision=2
noarch=yes
hostmakedepends="unzip"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
short_desc="A C++ mathematics library for graphics programming"
homepage="http://glm.g-truc.net"
distfiles="${SOURCEFORGE_SITE}/ogl-math/glm-${version}.zip"
checksum=0646b29718cf3ad2ee9c4c9dcb2d5b1d9b483fc0b71764e93b369934203d90ce
do_install() {
vmkdir usr/include/glm
vmkdir usr/share/doc
cp -r glm ${DESTDIR}/usr/include
cp -r doc ${DESTDIR}/usr/share/doc/glm
rm -f ${DESTDIR}/usr/include/glm/CMakeLists.txt
find ${DESTDIR} -type f -exec chmod 644 {} \;
find ${DESTDIR} -type d -exec chmod 755 {} \;
}