void-packages/srcpkgs/glm/template

24 lines
718 B
Bash
Raw Normal View History

2012-11-04 09:08:49 +01:00
# Template file for 'glm'
pkgname=glm
2015-09-12 21:44:20 +02:00
version=0.9.7.1
2014-04-21 22:04:04 +02:00
revision=1
noarch=yes
hostmakedepends="unzip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-11-04 09:08:49 +01:00
license="MIT"
short_desc="A C++ mathematics library for graphics programming"
homepage="http://glm.g-truc.net"
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
2015-09-12 21:44:20 +02:00
checksum=aa1a504e991bbe33a32f394de8d39d43cc800cbb3d99c2fa75b4a473eba606db
2014-04-21 22:04:04 +02:00
wrksrc=${pkgname}
2012-11-04 09:08:49 +01: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 {} \;
}