void-packages/srcpkgs/glm/template

24 lines
685 B
Text
Raw Normal View History

2012-11-04 08:08:49 +00:00
# Template file for 'glm'
pkgname=glm
2014-04-21 20:04:04 +00:00
version=0.9.5.3
revision=1
noarch=yes
hostmakedepends="unzip"
2012-11-04 08:08:49 +00: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"
2014-04-21 20:04:04 +00:00
checksum=3407f9d2a94d2576ed6bdcd25b1852a52b8ccb5ef035523967ff9e5b0557bc59
wrksrc=${pkgname}
2012-11-04 08:08:49 +00:00
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 {} \;
}