1SUMMARY="Absolutely Wonderful C++ Library" 2DESCRIPTION=" 3Claw is a generalist library written in C++ and providing various structures 4and algorithms, like containers, string algorithms, tweeners, B��zier curves and 5more. 6 7The story of Claw begins when I wanted to group all the small tools I have made 8along my studies at the university. The library progress from time to time, 9mostly when I need a new tool for Plee the Bear, a game I am actively working 10on. 11 12Claw wants to be standard compliant and as portable as possible. Of course, 13because I'm currently the only developer, the task is a little bit difficult 14and you could have some minor problems. If you experience any problem, please 15let me know by contacting me. 16 17Claw stands for \"C++ Library Absolutely Wonderful\"." 18HOMEPAGE="http://libclaw.sourceforge.net/" 19COPYRIGHT="2008-2014 Julien Jorge" 20LICENSE="GNU LGPL v2.1" 21REVISION="9" 22SOURCE_URI="http://sourceforge.net/projects/libclaw/files/libclaw/$portVersion/libclaw-$portVersion.tar.gz" 23CHECKSUM_SHA256="0be289da7f43b1892575f14b27860af5d1e1f6961eae11653d64e625fd7924b7" 24PATCHES="libclaw-$portVersion.patchset" 25 26ARCHITECTURES="all !x86_gcc2" 27SECONDARY_ARCHITECTURES="x86" 28 29PROVIDES=" 30 libclaw$secondaryArchSuffix = $portVersion 31 lib:libclaw_application$secondaryArchSuffix 32 lib:libclaw_configuration_file$secondaryArchSuffix 33 lib:libclaw_dynamic_library$secondaryArchSuffix 34 lib:libclaw_graphic$secondaryArchSuffix 35 lib:libclaw_logger$secondaryArchSuffix 36 lib:libclaw_net$secondaryArchSuffix 37 lib:libclaw_tween$secondaryArchSuffix 38 " 39REQUIRES=" 40 haiku$secondaryArchSuffix 41 lib:libjpeg$secondaryArchSuffix 42 lib:libpng16$secondaryArchSuffix 43 lib:libz$secondaryArchSuffix 44 " 45 46PROVIDES_devel=" 47 libclaw${secondaryArchSuffix}_devel = $portVersion 48 cmd:claw_config 49 devel:libclaw_application$secondaryArchSuffix 50 devel:libclaw_configuration_file$secondaryArchSuffix 51 devel:libclaw_dynamic_library$secondaryArchSuffix 52 devel:libclaw_graphic$secondaryArchSuffix 53 devel:libclaw_logger$secondaryArchSuffix 54 devel:libclaw_net$secondaryArchSuffix 55 devel:libclaw_tween$secondaryArchSuffix 56 " 57REQUIRES_devel=" 58 haiku$secondaryArchSuffix 59 libclaw$secondaryArchSuffix == $portVersion base 60 " 61 62BUILD_REQUIRES=" 63 haiku${secondaryArchSuffix}_devel 64 devel:libboost_system$secondaryArchSuffix >= 1.70.0 65 devel:libintl$secondaryArchSuffix 66 devel:libjpeg$secondaryArchSuffix 67 devel:libpng16$secondaryArchSuffix 68 devel:libz$secondaryArchSuffix 69 " 70BUILD_PREREQUIRES=" 71 cmd:cmake >= 3.0 72 cmd:doxygen 73 cmd:gcc$secondaryArchSuffix 74 cmd:ld$secondaryArchSuffix 75 cmd:make 76 " 77 78BUILD() 79{ 80 cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ 81 -DCMAKE_INSTALL_PREFIX=$prefix \ 82 -DCMAKE_CXX_FLAGS="-std=c++98" 83 make -C build $jobArgs 84} 85 86INSTALL() 87{ 88 make -C build install 89 90 # remove static libraries 91 rm $libDir/lib*.a 92 93 prepareInstalledDevelLibs libclaw_application libclaw_configuration_file \ 94 libclaw_dynamic_library libclaw_graphic libclaw_logger libclaw_net \ 95 libclaw_tween 96 97 packageEntries devel \ 98 $developDir \ 99 $libDir/libclaw/ \ 100 $prefix/bin/ 101} 102 103TEST() 104{ 105 true 106} 107