mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
DESCRIPTION="ODE is an open source, high performance library for simulating rigid body dynamics. It is fully featured, stable, mature and platform independent with an easy to use C/C++ API. It has advanced joint types and integrated collision detection with friction. ODE is useful for simulating vehicles, objects in virtual reality environments and virtual creatures."
|
|
SUMMARY="Library for simulating rigid body dynamics"
|
|
HOMEPAGE="http://www.ode.org/"
|
|
SRC_URI="http://downloads.sourceforge.net/project/opende/ODE/0.12/ode-0.12.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fopende%2Ffiles%2F&ts=1356377654&use_mirror=freefr"
|
|
CHECKSUM_MD5="48fdd41fae1a7e7831feeded09826599"
|
|
REVISION="1"
|
|
COPYRIGHT="2001-2004 Russell L. Smith"
|
|
LICENSE="
|
|
GNU LGPL v3
|
|
BSD (3-clause)
|
|
"
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
ode$secondaryArchSuffix = $portVersion
|
|
lib:libode$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:mkdepend
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
"
|
|
|
|
PATCHES="ode-0.12.patch"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --enable-shared
|
|
make $jobArgs
|
|
}
|
|
INSTALL()
|
|
{
|
|
fixDevelopLibDirReferences ode-config
|
|
|
|
make install
|
|
|
|
prepareInstalledDevelLib libode
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$binDir # ode_config binary here
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
ode${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libode$secondaryArchSuffix = $portVersion
|
|
cmd:ode_config$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
ode$secondaryArchSuffix == $portVersion base
|
|
"
|