1SUMMARY="A C++ math library developed primarily for games"
2DESCRIPTION="MathFu is a C++ math library developed primarily for games focused on \
3simplicity and efficiency. \
4\
5It provides a suite of vector, matrix and quaternion classes to perform \
6basic geometry suitable for game developers. This functionality can be used \
7to construct geometry for graphics libraries like OpenGL or perform \
8calculations for animation or physics systems"
9HOMEPAGE="http://google.github.io/mathfu"
10COPYRIGHT="2014-2015 Google Inc."
11LICENSE="Apache v2"
12REVISION="1"
13SOURCE_DIR=""
14SOURCE_URI_0="https://github.com/google/mathfu/archive/v1.0.2.tar.gz"
15CHECKSUM_SHA256_0="fc4e9c08b95cf8ea00b96ca928117cc9e56739b8ff9b241fb6704f54aa0d68d7"
16SOURCE_URI_1="https://github.com/scoopr/vectorial/archive/f3d31522f688ed0c12c7401a4418ef01c2c7c4dd.tar.gz"
17CHECKSUM_SHA256_1="dc49c795e195cc71af4b942da9d5fd2c27ad5b070c21cbddb5bfa52b734d68f1"
18
19ARCHITECTURES="?all x86_gcc2"
20SECONDARY_ARCHITECTURES="x86"
21
22PROVIDES="
23	mathfu$secondaryArchSuffix = $portVersion
24	"
25REQUIRES="
26	haiku$secondaryArchSuffix
27	"
28
29PROVIDES_devel="
30	mathfu${secondaryArchSuffix}_devel
31	devel:mathfu$secondaryArchSuffix
32	"
33REQUIRES_devel="
34	mathfu$secondaryArchSuffix == $portVersion
35	"
36
37BUILD_REQUIRES="
38	haiku${secondaryArchSuffix}_devel
39	"
40BUILD_PREREQUIRES="
41	coreutils
42	"
43
44BUILD()
45{
46	true
47}
48
49INSTALL()
50{
51	mkdir -p $includeDir
52	cp -r ../sources/mathfu-1.0.2/include/vectorial $includeDir
53	cp -r ../sources-0/mathfu-1.0.2/include/mathfu $includeDir
54
55	packageEntries devel $developDir
56}
57