mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
72 lines
1.6 KiB
Bash
72 lines
1.6 KiB
Bash
SUMMARY="Skeletal based character animation library"
|
|
DESCRIPTION="Cal3D is a skeletal based 3D character animation library written \
|
|
in C++ in a platform-/graphic API-independent way. Originally designed to \
|
|
be used in a 3D client for Worldforge, it evolved into a stand-alone \
|
|
product which can be used in many different kinds of projects. It supports \
|
|
combining animations, actions and morph targets (facial expressions) \
|
|
through a \"mixer\"."
|
|
HOMEPAGE="http://gna.org/projects/cal3d/"
|
|
LICENSE="GNU LGPL v3"
|
|
COPYRIGHT="2001-2006 Laurent Desmecht, Loic Dachary, Bruno Heidelberger"
|
|
|
|
SOURCE_URI="http://download.gna.org/cal3d/sources/cal3d-0.11.0.tar.gz"
|
|
CHECKSUM_SHA256="fc4a6fe311004987377ec80b804a04aab44c32085fd974d275aa9d0b14144b06"
|
|
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
# devel not in a separate package, because there is no .so file.
|
|
PROVIDES="
|
|
cal3d$secondaryArchSuffix = $portVersion
|
|
cmd:cal3d_converter$secondaryArchSuffix
|
|
lib:libcal3d$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gawk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autom4te
|
|
"
|
|
|
|
PATCHES="cal3d-$portVersion.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
automake
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
make install
|
|
|
|
prepareInstalledDevelLib libcal3d
|
|
rm $developLibDir/*.la
|
|
|
|
packageEntries devel $developLibDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
devel:libcal3d$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
cal3d$secondaryArchSuffix == $portVersion base
|
|
"
|