void-packages/srcpkgs/glm/template

24 lines
688 B
Bash

# Template file for 'glm'
pkgname=glm
version=0.9.6.3
revision=1
noarch=yes
hostmakedepends="unzip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=14651b56b10fa68082446acaf6a1116d56b757c8d375b34b5226a83140acd2b2
wrksrc=${pkgname}
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 {} \;
}