1SUMMARY="Library for simulating rigid body dynamics" 2DESCRIPTION="ODE is an open source, high performance library for simulating \ 3rigid body dynamics. It is fully featured, stable, mature and platform \ 4independent with an easy to use C/C++ API. It has advanced joint types and \ 5integrated collision detection with friction. ODE is useful for simulating \ 6vehicles, objects in virtual reality environments and virtual creatures." 7HOMEPAGE="http://www.ode.org/" 8COPYRIGHT="2001-2004 Russell L. Smith" 9LICENSE="GNU LGPL v3 10 BSD (3-clause)" 11REVISION="2" 12SOURCE_URI="http://downloads.sourceforge.net/project/opende/ODE/0.12/ode-0.12.tar.bz2" 13CHECKSUM_SHA256="65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350" 14PATCHES="ode-0.12.patch" 15 16ARCHITECTURES="all" 17SECONDARY_ARCHITECTURES="x86_gcc2 x86" 18 19PROVIDES=" 20 ode$secondaryArchSuffix = $portVersion 21 lib:libode$secondaryArchSuffix = $portVersion 22 " 23REQUIRES=" 24 haiku$secondaryArchSuffix 25 " 26 27PROVIDES_devel=" 28 ode${secondaryArchSuffix}_devel = $portVersion 29 cmd:ode_config$secondaryArchSuffix = $portVersion 30 devel:libode$secondaryArchSuffix = $portVersion 31 " 32REQUIRES_devel=" 33 haiku$secondaryArchSuffix 34 ode$secondaryArchSuffix == $portVersion base 35 " 36 37BUILD_REQUIRES=" 38 haiku${secondaryArchSuffix}_devel 39 " 40BUILD_PREREQUIRES=" 41 cmd:awk 42 cmd:gcc$secondaryArchSuffix 43 cmd:ld$secondaryArchSuffix 44 cmd:make 45 cmd:mkdepend 46 " 47 48BUILD() 49{ 50 runConfigure ./configure --enable-shared \ 51 --disable-static 52 make $jobArgs 53} 54 55INSTALL() 56{ 57 fixDevelopLibDirReferences ode-config 58 59 make install 60 61 prepareInstalledDevelLib libode 62 fixPkgconfig 63 64 # devel package 65 packageEntries devel \ 66 $developDir \ 67 $binDir # ode_config binary here 68} 69