1SUMMARY="Tools and library for creating flame fractal images" 2DESCRIPTION="Flam3 - Flames are algorithmically generated images and \ 3animations. The software was originally written in 1992 and released as \ 4open source, aka free software. Over the years it has been greatly expanded, \ 5and is now widely used to create art and special effects. The shape and \ 6color of each image is specified by a long string of numbers - a genetic \ 7code of sorts." 8HOMEPAGE="https://flam3.com/" 9COPYRIGHT="1992-2015 Scott Draves, Erik Reckase" 10LICENSE="GNU GPL v3" 11REVISION="4" 12SOURCE_URI="https://github.com/scottdraves/flam3/archive/v$portVersion.tar.gz" 13CHECKSUM_SHA256="afcd4af13897740e34f6ae1f3061bbfbda9c1dd5df3ecc9f57141c985d35d19d" 14 15 16ARCHITECTURES="all ?x86_gcc2" 17SECONDARY_ARCHITECTURES="x86" 18 19commandBinDir=$binDir 20commandSuffix=$secondaryArchSuffix 21if [ "$targetArchitecture" = x86_gcc2 ]; then 22 commandSuffix= 23 commandBinDir=$prefix/bin 24fi 25 26PROVIDES=" 27 flam3$secondaryArchSuffix = $portVersion 28 cmd:flam3_animate$commandSuffix 29 cmd:flam3_convert$commandSuffix 30 cmd:flam3_genome$commandSuffix 31 cmd:flam3_render$commandSuffix 32 lib:libflam3$secondaryArchSuffix = 0.0.0 compat >= 0 33 " 34REQUIRES=" 35 haiku$secondaryArchSuffix 36 lib:libjpeg$secondaryArchSuffix 37 lib:libpng16$secondaryArchSuffix 38 lib:libxml2$secondaryArchSuffix 39 lib:libz$secondaryArchSuffix 40 " 41 42PROVIDES_devel=" 43 flam3${secondaryArchSuffix}_devel = $portVersion 44 devel:libflam3$secondaryArchSuffix = 0.0.0 compat >= 0 45 " 46REQUIRES_devel=" 47 flam3$secondaryArchSuffix == $portVersion base 48 " 49 50BUILD_REQUIRES=" 51 haiku${secondaryArchSuffix}_devel 52 devel:libjpeg$secondaryArchSuffix 53 devel:libpng16$secondaryArchSuffix 54 devel:libxml2$secondaryArchSuffix 55 devel:libz$secondaryArchSuffix 56 " 57BUILD_PREREQUIRES=" 58 cmd:aclocal 59 cmd:autoconf 60 cmd:awk 61 cmd:gcc$secondaryArchSuffix 62 cmd:git 63 cmd:libtoolize$secondaryArchSuffix 64 cmd:make 65 cmd:pkg_config$secondaryArchSuffix 66 " 67 68BUILD() 69{ 70 autoreconf -vfi 71 runConfigure --omit-dirs binDir ./configure \ 72 --bindir=$commandBinDir \ 73 --enable-shared \ 74 --disable-static 75 make $jobArgs 76} 77 78INSTALL() 79{ 80 make install 81 82 rm $libDir/libflam3.la 83 84 prepareInstalledDevelLib libflam3 85 fixPkgconfig 86 87 packageEntries devel \ 88 $developDir 89} 90