mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Revert "ixion, orcus: removed obsolete recipes."
This reverts commit 060ee1ad06.
Missed that liborcus is needed by libreoffice 24.8.1 on 64 bits.
This commit is contained in:
138
dev-libs/ixion/ixion0.18-0.19.0.recipe
Normal file
138
dev-libs/ixion/ixion0.18-0.19.0.recipe
Normal file
@@ -0,0 +1,138 @@
|
||||
SUMMARY="A general purpose formula parser and interpreter"
|
||||
DESCRIPTION="Ixion is a general purpose formula parser & interpreter that can \
|
||||
calculate multiple named targets, or \"cells\".
|
||||
The cells can be referenced from each other, and the library takes care \
|
||||
of resolving their dependencies automatically upon calculation. The caller \
|
||||
can run the calculation routine either in a single-threaded mode, or \
|
||||
a multi-threaded mode. The library also supports re-calculations where the \
|
||||
contents of one or more cells have been modified since the last calculation, \
|
||||
and a partial calculation of only the affected cells need to be calculated."
|
||||
HOMEPAGE="https://gitlab.com/ixion/ixion"
|
||||
COPYRIGHT="Kohei Yoshida et al."
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gitlab.com/ixion/ixion/-/archive/$portVersion/ixion-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c8b6315bae2d33a0e18b60004d625e4a5ea8a7326364f9f0b51cd6b49bdf93e8"
|
||||
SOURCE_DIR="ixion-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
boostMinimumVersion=1.83.0
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
soVersion="0.18"
|
||||
|
||||
PROVIDES="
|
||||
ixion0.18$secondaryArchSuffix = $portVersion
|
||||
lib:libixion_$soVersion$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libboost_filesystem$secondaryArchSuffix
|
||||
lib:libboost_program_options$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ixion0.18${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libixion_$soVersion$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ixion0.18$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
PROVIDES_tools="
|
||||
ixion0.18${secondaryArchSuffix}_tools = $portVersion
|
||||
cmd:ixion_formula_tokenizer$commandSuffix = $portVersion
|
||||
cmd:ixion_parser$commandSuffix = $portVersion
|
||||
cmd:ixion_sorter$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_tools="
|
||||
$REQUIRES
|
||||
ixion0.18$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_tools="
|
||||
ixion${secondaryArchSuffix}_tools
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_filesystem$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libboost_program_options$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libboost_system$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libspdlog$secondaryArchSuffix
|
||||
devel:mdds$secondaryArchSuffix >= 2.1
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:doxygen
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage ixion0.18$secondaryArchSuffix \
|
||||
"$(getPackagePrefix tools)"/bin/ixion-formula-tokenizer \
|
||||
"$(getPackagePrefix tools)"/bin/ixion-parser \
|
||||
"$(getPackagePrefix tools)"/bin/ixion-sorter \
|
||||
"$libDir"/libixion-$soVersion.so.0.0.0
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/-ldl//g' configure.ac
|
||||
sed -i 's/-pthread//g' configure.ac
|
||||
sed -i 's#$with_boost/include#$with_boost/headers#g' m4/boost.m4
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
export CXXFLAGS="-std=c++17"
|
||||
BOOST_ROOT="$portPackageLinksDir"/devel~libboost_program_options/develop
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--enable-python=no
|
||||
make $jobArgs
|
||||
|
||||
cd doc
|
||||
doxygen doxygen.conf
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# documentation
|
||||
mkdir -p $developDocDir
|
||||
cp -r doc/_doxygen/html $developDocDir
|
||||
|
||||
rm -f "$libDir"/libixion-$soVersion.la
|
||||
|
||||
prepareInstalledDevelLib libixion-$soVersion
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
"$developDir"
|
||||
|
||||
packageEntries tools \
|
||||
"$commandBinDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
LIBRARY_PATH="$sourceDir/src/libixion/.libs${LIBRARY_PATH:+:$LIBRARY_PATH}" \
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user