2012-11-04 08:08:49 +00:00
|
|
|
# Template file for 'glm'
|
|
|
|
pkgname=glm
|
2016-03-20 06:42:52 +00:00
|
|
|
version=0.9.7.4
|
2014-04-21 20:04:04 +00:00
|
|
|
revision=1
|
2014-01-01 15:10:11 +00:00
|
|
|
noarch=yes
|
|
|
|
hostmakedepends="unzip"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-11-04 08:08:49 +00:00
|
|
|
license="MIT"
|
|
|
|
short_desc="A C++ mathematics library for graphics programming"
|
|
|
|
homepage="http://glm.g-truc.net"
|
2015-09-05 22:02:33 +00:00
|
|
|
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
|
2016-03-20 06:42:52 +00:00
|
|
|
checksum=d48a0d732776b0fbfd17f01c830a08b50f07a3226f0cab95fcca5591982a43f2
|
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
|
2016-01-25 07:50:33 +00:00
|
|
|
vcopy glm usr/include
|
|
|
|
vcopy doc usr/share/doc/glm
|
2012-11-04 08:08:49 +00:00
|
|
|
rm -f ${DESTDIR}/usr/include/glm/CMakeLists.txt
|
|
|
|
find ${DESTDIR} -type f -exec chmod 644 {} \;
|
|
|
|
find ${DESTDIR} -type d -exec chmod 755 {} \;
|
2016-01-25 07:50:33 +00:00
|
|
|
vlicense copying.txt
|
2012-11-04 08:08:49 +00:00
|
|
|
}
|