Files
haikuports/media-libs/glm/glm-0.9.6.1.recipe
Humdinger 06e8ae9fb8 De-lint recipes
*	fceux
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	fenris
	SUMMARY must start with capital letter
	Re-ordered blocks

*	gcc
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	giflib6
	SUMMARY must start with capital letter
	Re-ordered blocks

*	glm
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	hexedit
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	lateef_font
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	libmicro
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	libusb_compat
	SUMMARY must start with capital letter
	Re-ordered blocks

*	readline
	Re-ordered blocks

*	libutf8proc
	SUMMARY must start with capital letter
	Re-ordered blocks
	Added REQUIRES_devel

*	libwebp
	SUMMARY must start with capital letter
	Re-ordered blocks

*	lighttpd
	SUMMARY must start with capital letter
	Re-ordered blocks

*	lzip
	SUMMARY must start with capital letter
	Re-ordered blocks
2015-08-08 13:05:27 +02:00

49 lines
1.0 KiB
Bash

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="http://downloads.sourceforge.net/project/ogl-math/glm-$portVersion/glm-${portVersion}.zip"
CHECKSUM_SHA256="1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8"
SOURCE_DIR="glm"
ARCHITECTURES="x86 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
glm$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
"
PROVIDES_devel="
glm${secondaryArchSuffix}_devel = $portVersion
"
REQUIRES_devel="
glm$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgl$secondaryArchSuffix
"
BUILD_PREREQUIRES=""
BUILD()
{
true
}
INSTALL()
{
mkdir -p $includeDir/glm
cp -R glm/*.hpp glm/detail glm/gtc glm/gtx $includeDir/glm/
rm $includeDir/glm/detail/*.cpp
packageEntries devel $developDir
}