mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
92 lines
2.5 KiB
Bash
92 lines
2.5 KiB
Bash
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="http://kohei.us/files/ixion/src/libixion-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="f990c18354a5aaa7e2a99a38c44f37f8169aa86a54bf285be26e21453fae3b8b"
|
|
SOURCE_DIR="libixion-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
ixion$secondaryArchSuffix = $portVersion
|
|
cmd:ixion_formula_tokenizer$secondaryArchSuffix = $portVersion
|
|
cmd:ixion_parser$secondaryArchSuffix = $portVersion
|
|
cmd:ixion_sorter$secondaryArchSuffix = $portVersion
|
|
lib:libixion_0.13$secondaryArchSuffix = 13.0.0 compat >= 13
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libboost_program_options$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
ixion${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libixion_0.13$secondaryArchSuffix = 13.0.1 compat >= 13
|
|
"
|
|
REQUIRES_devel="
|
|
ixion$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_program_options$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:mdds >= 1.2
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i 's/-pthread//g' configure.ac
|
|
sed -i 's#$with_boost/include#$with_boost/headers#g' m4/boost.m4
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
BOOST_ROOT=$portPackageLinksDir/devel~libboost_program_options/develop
|
|
runConfigure ./configure --enable-python=no
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libixion-0.13.la
|
|
|
|
prepareInstalledDevelLibs libixion-0.13
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
# these tests do not pass
|
|
# ixion is really good in crashing our pthreads implementation
|
|
make check
|
|
}
|