mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
glm: added recipe for version 0.9.6.1.
This commit is contained in:
53
media-libs/glm/glm-0.9.6.1.recipe
Normal file
53
media-libs/glm/glm-0.9.6.1.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="OpenGL Mathematics"
|
||||
DESCRIPTION="
|
||||
GLM is a header only library, there is nothing to build, just include it.
|
||||
"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2005-2014 G-Truc Creation
|
||||
"
|
||||
HOMEPAGE="http://glm.g-truc.net"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/ogl-math/glm-$portVersion/glm-${portVersion}.zip"
|
||||
CHECKSUM_SHA256="1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8"
|
||||
REVISION="1"
|
||||
SOURCE_DIR="glm"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
glm$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libgl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------
|
||||
PROVIDES_devel="
|
||||
glm${secondaryArchSuffix}_devel = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
glm$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user