57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
SUMMARY="A C++ math library developed primarily for games"
|
|
DESCRIPTION="MathFu is a C++ math library developed primarily for games focused on \
|
|
simplicity and efficiency. \
|
|
\
|
|
It provides a suite of vector, matrix and quaternion classes to perform \
|
|
basic geometry suitable for game developers. This functionality can be used \
|
|
to construct geometry for graphics libraries like OpenGL or perform \
|
|
calculations for animation or physics systems"
|
|
HOMEPAGE="http://google.github.io/mathfu"
|
|
COPYRIGHT="2014-2015 Google Inc."
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
SOURCE_DIR=""
|
|
SOURCE_URI_0="https://github.com/google/mathfu/archive/v1.0.2.tar.gz"
|
|
CHECKSUM_SHA256_0="fc4e9c08b95cf8ea00b96ca928117cc9e56739b8ff9b241fb6704f54aa0d68d7"
|
|
SOURCE_URI_1="https://github.com/scoopr/vectorial/archive/f3d31522f688ed0c12c7401a4418ef01c2c7c4dd.tar.gz"
|
|
CHECKSUM_SHA256_1="dc49c795e195cc71af4b942da9d5fd2c27ad5b070c21cbddb5bfa52b734d68f1"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mathfu$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mathfu${secondaryArchSuffix}_devel
|
|
devel:mathfu$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
mathfu$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
coreutils
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
true
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $includeDir
|
|
cp -r ../sources/mathfu-1.0.2/include/vectorial $includeDir
|
|
cp -r ../sources-0/mathfu-1.0.2/include/mathfu $includeDir
|
|
|
|
packageEntries devel $developDir
|
|
}
|