24 lines
685 B
Plaintext
24 lines
685 B
Plaintext
# Template file for 'glm'
|
|
pkgname=glm
|
|
version=0.9.5.4
|
|
revision=1
|
|
noarch=yes
|
|
hostmakedepends="unzip"
|
|
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"
|
|
checksum=c25002f109104bb8eb37a7e74c745cbc0a713ec5d9a857050c7878edb5ee246c
|
|
wrksrc=${pkgname}
|
|
|
|
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 {} \;
|
|
}
|