mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
68 lines
1.6 KiB
Bash
68 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="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
ode$secondaryArchSuffix = $portVersion
|
|
lib:libode$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
ode${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:ode_config$secondaryArchSuffix = $portVersion
|
|
devel:libode$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
ode$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:mkdepend
|
|
"
|
|
|
|
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
|
|
}
|