New package: glm-0.9.3.4.

This commit is contained in:
Juan RP 2012-11-04 09:08:49 +01:00
parent 33efa2238f
commit 4e3aac09ea
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# Template file for 'glm-devel'.
#
depends="glm-${version}_${revision}"
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

30
srcpkgs/glm/template Normal file
View file

@ -0,0 +1,30 @@
# Template file for 'glm'
pkgname=glm
version=0.9.3.4
revision=1
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=0646b29718cf3ad2ee9c4c9dcb2d5b1d9b483fc0b71764e93b369934203d90ce
long_desc="
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities than GLSL so that when a programmer
knows GLSL, he knows GLM as well which makes it really easy to use."
makedepends="unzip"
noarch=yes
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 {} \;
}