mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
69 lines
1.6 KiB
Bash
69 lines
1.6 KiB
Bash
SUMMARY="Library for simulating rigid body dynamics"
|
|
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."
|
|
HOMEPAGE="http://www.ode.org/"
|
|
COPYRIGHT="2001-2004 Russell L. Smith"
|
|
LICENSE="GNU LGPL v3
|
|
BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/opende/ODE/0.12/ode-0.12.tar.bz2"
|
|
CHECKSUM_SHA256="65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350"
|
|
PATCHES="ode-0.12.patch"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
ode$secondaryArchSuffix = $portVersion
|
|
lib:libode$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
ode${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libode$secondaryArchSuffix = $portVersion
|
|
cmd:ode_config$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
ode$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:mkdepend
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:awk
|
|
"
|
|
|
|
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
|
|
}
|