void-packages/srcpkgs/glm/template

23 lines
667 B
Plaintext
Raw Normal View History

2012-11-04 09:08:49 +01:00
# Template file for 'glm'
pkgname=glm
version=0.9.3.4
2014-02-19 16:18:03 +01:00
revision=2
noarch=yes
hostmakedepends="unzip"
2012-11-04 09:08:49 +01:00
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 {} \;
}