void-packages/srcpkgs/glm/template
2016-02-23 06:04:25 +01:00

24 lines
718 B
Bash

# Template file for 'glm'
pkgname=glm
version=0.9.7.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="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
checksum=3c0a07319957fdd6dd4cc6a35e3a787e9c78ddb668febe6597987f55fe0a30cd
wrksrc=${pkgname}
do_install() {
vmkdir usr/include/glm
vmkdir usr/share/doc
vcopy glm usr/include
vcopy doc 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 {} \;
vlicense copying.txt
}