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-06-24 20:11:35 +00:00
version=0.9.5.4
2014-04-21 20:04:04 +00:00
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-06-24 20:11:35 +00:00
checksum=c25002f109104bb8eb37a7e74c745cbc0a713ec5d9a857050c7878edb5ee246c
2014-04-21 20:04:04 +00:00
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 {} \;
}