23 lines
685 B
Text
23 lines
685 B
Text
# Template file for 'glm'
|
|
pkgname=glm
|
|
version=0.9.5.3
|
|
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=3407f9d2a94d2576ed6bdcd25b1852a52b8ccb5ef035523967ff9e5b0557bc59
|
|
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 {} \;
|
|
}
|