SUMMARY="A flexible cross-platform scripting library" DESCRIPTION="The AngelCode Scripting Library, or AngelScript as it is also known, \ is an extremely flexible cross-platform scripting library designed to allow applications to \ extend their functionality through external scripts. It has been designed from the beginning \ to be an easy to use component, both for the application programmer and the script writer" HOMEPAGE="http://www.angelcode.com/angelscript/" COPYRIGHT="2003-2021 Andreas Jönsson" LICENSE="Zlib" REVISION="1" SOURCE_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_$portVersion.zip" CHECKSUM_SHA256="5c1096b6d6cf50c7e77ae93c736d35b69b07b1e5047161c7816bca25b413a18b" SOURCE_DIR="sdk" PATCHES="angelscript-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" angelscript$secondaryArchSuffix = $portVersion lib:libangelscript$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" angelscript${secondaryArchSuffix}_devel = $portVersion devel:libangelscript$secondaryArchSuffix = $portVersion " REQUIRES_devel=" angelscript$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:cmake cmd:gcc$secondaryArchSuffix cmd:make " defineDebugInfoPackage angelscript$secondaryArchSuffix \ "$libDir"/libangelscript.so \ "$libDir"/libangelscript.so.${portVersion} BUILD() { cd angelscript/projects/cmake cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \ $cmakeDirArgs \ -DCMAKE_INSTALL_LIBDIR="$libDir" -DBUILD_SHARED_LIBS=ON make $jobArgs } INSTALL() { cd angelscript/projects/cmake make install packageEntries devel \ $developDir \ $libDir/cmake }