SUMMARY="OpenGL Mathematics library"
DESCRIPTION="GLM is a header only library, there is nothing to build, just \
include it."
HOMEPAGE="http://glm.g-truc.net"
COPYRIGHT="2005-2014 G-Truc Creation"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/g-truc/glm/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592"
SOURCE_FILENAME="glm-$portVersion.tar.gz"
SOURCE_DIR="glm-$portVersion"

ARCHITECTURES="any"

PROVIDES="
	glm = $portVersion
	devel:glm
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"

INSTALL()
{
	mkdir -p $includeDir/glm
	cp -R glm/*.hpp glm/detail glm/ext glm/gtc glm/gtx glm/simd $includeDir/glm/
	rm $includeDir/glm/detail/*.cpp
}
