mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
SUMMARY="Fuzzy logic control library written in C++"
|
|
DESCRIPTION="The goal of the FuzzyLite Libraries is to easily design and efficiently operate \
|
|
fuzzy logic controllers following an object-oriented programming model without relying on \
|
|
external libraries."
|
|
HOMEPAGE="https://fuzzylite.com"
|
|
COPYRIGHT="2017 Juan Rada-Vilela"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v6.0.tar.gz"
|
|
CHECKSUM_SHA256="7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0"
|
|
PATCHES="fuzzylite-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fuzzylite$secondaryArchSuffix = $portVersion
|
|
cmd:fuzzylite
|
|
lib:libfuzzylite$secondaryArchSuffix = 6.0 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
fuzzylite${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfuzzylite$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
fuzzylite$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd fuzzylite
|
|
cmake $cmakeDirArgs -DCMAKE_BUILD_TYPE=Release -DFL_BUILD_STATIC=0
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
|
|
INSTALL()
|
|
{
|
|
make -C fuzzylite install
|
|
|
|
prepareInstalledDevelLib libfuzzylite
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|